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

PROGRAMMING:Calculate BMI

Luz5年前 (2021-05-10)题库502
(Health app: calculate BMI) body mass index (BMI) is a measure of health by weight. The weight in kilogram is divided by the square of the height in meter to calculate its value. Write a program to input the weight in kilogram and the height in meter.
###Input format:
Enter weight, height
###Output format:
Output BMI value, keep 4 decimal places
###Input example:
Here is a set of inputs. For example:
```in
forty-three point three
one point two seven
```
###Output example:
The corresponding output is given here. For example:
```out
BMI is 26.8461
```







answer:If there is no answer, please comment