当前位置:网站首页>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;
}
边栏推荐
- Mysql:insert date:sql error [1292] [22001]: data truncation: incorrect date value:
- QT learning 21 standard dialog box in QT (Part 2)
- Nucleic acid modified metal organic framework drug carrier | pcn-223 metal organic framework encapsulated ad adamantane | zif-8 encapsulated adriamycin (DOX)
- MIL-100( Fe) 包裹小分子阿司匹林形成[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)
- Redis: operation command of string type data
- Interface for querying IP home
- Use vscode to view hex or UTF-8 codes
- Qt学习21 Qt 中的标准对话框(下)
- Common network state detection and analysis tools
- 叶酸修饰的金属-有机骨架(ZIF-8)载黄芩苷|金属有机骨架复合磁性材料([email protected])|制备路线
猜你喜欢

Current situation, analysis and prediction of information and innovation industry

MySQL data processing value addition, deletion and modification

JVM runtime data area

MySQL 数据增删改查综合案例
[email protected] (FE) | glycyrrhetinic acid modified metal organ"/>Formation of mil-100 (FE) coated small molecule aspirin [email protected] (FE) | glycyrrhetinic acid modified metal organ

Use vscode to view hex or UTF-8 codes

Implementation of Muduo accept connection, disconnection and sending data

GoLand 2021.2 configure go (go1.17.6)

Redis:字符串類型數據的操作命令
[email protected]纳米粒子"/>金属有机骨架MIL-88负载阿霉素DOX|叶酸修饰UiO-66-NH2负载阿霉素[email protected]纳米粒子
随机推荐
Reflection -- basic usage
Simulated access
Selenium browser (1)
jvm-类加载
QT learning 20 standard dialog box in QT (middle)
Qt学习21 Qt 中的标准对话框(下)
The small project (servlet+jsp+mysql+el+jstl) completes a servlet with login function, with the operation of adding, deleting, modifying and querying. Realize login authentication, prevent illegal log
Solve MySQL 1045 access denied for user 'root' @ 'localhost' (using password: yes)
Current situation, analysis and prediction of information and innovation industry
JVM family - overview, program counter day1-1
Another industry has been broken by Chinese chips. No wonder the leading analog chip companies in the United States have cut prices and sold off
Qt学习19 Qt 中的标准对话框(上)
jvm-对象生命周期
Qt学习25 布局管理器(四)
Record 405 questions about bank callback post request
如何使用lxml判断网站公告是否更新
叶酸修饰的金属-有机骨架(ZIF-8)载黄芩苷|金属有机骨架复合磁性材料([email protected])|制备路线
“又土又穷”的草根高校,凭什么被称为“东北小清华”?
好看、好用、强大的手写笔记软件综合评测:Notability、GoodNotes、MarginNote、随手写、Notes Writers、CollaNote、CollaNote、Prodrafts、Noteshelf、FlowUs、OneNote、苹果备忘录
allegro,orcad, net alias,port,off-page connector之间的异同点和如何选取