当前位置:网站首页>7-8 overspeed judgment
7-8 overspeed judgment
2022-07-03 14:09:00 【ᯤ⁹ᴳ⁺ ·】
7-8 Overspeed judgment (10 branch )
Radar velocimeter simulating traffic police . Enter the vehicle speed , If the speed exceeds 60 mph, Is displayed “Speeding”, Otherwise, it will show “OK”.
Input format :
Enter... On one line 1 No more than one. 500 Non-negative integer , That is, the speed measured by the radar .
Output format :
Output the tachometer display results in one line , The format is :Speed: V - S, among V It's the speed ,S Or is it Speeding、 Or is it OK.
sample input 1:
40
sample output 1:
Speed: 40 - OK
sample input 2:
75
sample output 2:
Speed: 75 - SpeedingCode :
#include<stdio.h>
int main(){
int v;
scanf("%d",&v);
if(v>60){
printf("Speed: %d - Speeding",v);
}else{
printf("Speed: %d - OK",v);
}
return 0;
}
边栏推荐
- Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material
- [combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)
- Print. JS -- web page file printing
- Thrift threadmanager and three monitors
- Golang — template
- GoLand 2021.2 configure go (go1.17.6)
- 3D vision - 2 Introduction to pose estimation - openpose includes installation, compilation and use (single frame, real-time video)
- Common plug-ins for vite project development
- jvm-运行时数据区
- 如何使用lxml判断网站公告是否更新
猜你喜欢

Uniapp tips - scrolling components

JS first summary

解决MySql 1045 Access denied for user ‘root‘@‘localhost‘ (using password: YES)

JS input number and standard digit number are compared. The problem of adding 0 to 0

Print. JS -- web page file printing

Rasp implementation of PHP
![Mysql:insert date:sql error [1292] [22001]: data truncation: incorrect date value:](/img/2f/33504391a661ecb63d42d75acf3a37.png)
Mysql:insert date:sql error [1292] [22001]: data truncation: incorrect date value:

交联环糊精金属有机骨架负载甲氨蝶呤缓释微粒|金属-有机多孔材料UiO-66负载黄酮苷类药物|齐岳

“又土又穷”的草根高校,凭什么被称为“东北小清华”?

jvm-对象生命周期
随机推荐
玖逸云黑免费无加密版本源码
Programmable logic device software testing
[combinatorics] permutation and combination (examples of combinatorial number of multiple sets | three counting models | selection problem | combinatorial problem of multiple sets | nonnegative intege
Qt学习18 登录对话框实例分析
JVM class loading
MySQL data processing value addition, deletion and modification
Scroll detection of the navigation bar enables the navigation bar to slide and fix with no content
Solution to failure or slow downloading of electron when electron uses electron builder to package
1px problem of mobile terminal
C language standard IO function sorting
Message subscription and publishing
Qt学习22 布局管理器(一)
Multi person collaborative data annotation based on Baidu brain easydata from scratch
Why don't I have a rookie medal
JS download files through URL links
JVM family - overview, program counter day1-1
FPGA测试方法以Mentor工具为例
JS input number and standard digit number are compared. The problem of adding 0 to 0
QT learning 24 layout manager (III)
Comprehensive case of MySQL data addition, deletion, modification and query