-->
当前位置:首页 > 题库

PROGRAMMING:Overspeed judgment

Luz5年前 (2021-05-10)题库381
Radar speedometer simulating traffic police. Input the vehicle speed. If the speed exceeds 60 mph, "speed" will be displayed; otherwise, "OK" will be displayed.
###Input format:
Input a non negative integer no more than 500 in one line, that is, the speed measured by radar.
###Output format:
Output the speedometer display results in one line in the format of 'speed: V - s', where' V 'is the vehicle speed,'s' is either' speeding 'or' OK '.
###Input sample 1:
```in
forty
```
###Output sample 1:
```out
Speed: 40 - OK
```
###Input example 2:
```
seventy-five
```
###Output example 2:
```
Speed: 75 - Speeding
```






answer:If there is no answer, please comment