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

PROGRAMMING:Selling cloth

Luz5年前 (2021-05-10)题库456
When customers buy cloth, the salesman measures it with a meter ruler, cuts it and hands it to customers. How many times does the salesman need to measure?
Please write a program to input the length of the cloth purchased by the customer and output the number of times the salesman measures the cloth with a wooden ruler.
####Input format
>$$d $$(unit: m)
####Output format
>$$n $$(unit: Times)
####Sample input 1
```in
eight point seven five
```
####Sample output 1
```out
nine
```
####Sample input 2
```in
ten
```
####Sample output 2
```out
ten
```







answer:If there is no answer, please comment