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

PROGRAMMING:2-6. Input height, calculate and display standard weight

Luz5年前 (2021-05-10)题库368
Write a program to read the integer value of height and display the real value of standard weight
The standard weight was calculated according to the formula $$(tall-100) 0.9 $$(where tall represents the height in centimeters), and the result was retained to one decimal place
```
Please enter your height (CM): 175 (enter)
Your standard weight is 67.5kg.
```
###Input example:
Enter the height in centimeters, an integer.
```in
175 (enter)
```
###Output example:
```out
Please enter your height (CM): your standard weight is 67.5kg.
```







answer:If there is no answer, please comment