What's new

Closed Pa help po ulit sa mga magagaling sa programing jan

Status
Not open for further replies.

Bayagkugan

Eternal Poster
Joined
Oct 8, 2015
Posts
999
Reaction
170
Points
300
Age
25
Choose your partner and write a program that accepts the height (m) and weight (Kg) of a person. Compute for the Body Mass Index (BMI) using the formula:

BMI = weight ÷ height²

Ask if the person is Asian or not. Using the computed BMI, determine his/her nutritional status based on "Asian criteria" if he/she is an asian, otherwise, use the "WHO criteria" as presented in the picture.

Sample output:

Enter height (m): 1.64
Enter weight (Kg): 60

Your BMI is 22.31.

Are you Asian (y/n)? y

You are normal. Ty po sa tutulong
 
Child's play. This can be done using case switch in either Java/C/C++. But I don't wanna do your homework for you. Show me what you have done first. I can help you once I see that you made at least some progress.

Also, I think I know what your program does but you're missing some info. Hindi po ba 'to kumpleto? Kulang eh
 
Status
Not open for further replies.

Similar threads

Back
Top