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

PROGRAMMING:New fat formula

Luz5年前 (2021-05-10)题库632
According to the official microblog of Qianjiang Evening News, the latest calculation method of obesity is: the square of weight (kg) / height (m). If it's over 25, you're fat. So this question asks you to write a program to automatically judge whether a person is fat or not.
###Input format:
Enter two positive numbers in a row, one is a person's weight (in kg) and the other is a person's height (in M), separated by spaces. The body weight is less than 1000 kg and the height is less than 3.0 M.
###Output format:
Firstly, the weight and height of the person are substituted into the calculation result of obesity formula, and 1 decimal place is reserved. If the value is greater than 25, output 'Pang' in the second line, otherwise output 'Hai Xing'.
###Input sample 1:
```in
100.1 1.74
```
###Output sample 1:
```out
thirty-three point one
PANG
```
###Input example 2:
```in
65 1.70
```
###Output example 2:
```out
twenty-two point five
Hai Xing
```







answer:If there is no answer, please comment