🔒 Closed Pa help po ulit sa mga magagaling sa programing jan

Status
Not open for further replies.

Bayagkugan

Honorary Poster
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.

About this Thread

  • 7
    Replies
  • 598
    Views
  • 7
    Participants
Last reply from:
cutemedievil

Trending Topics

Online now

Members online
1,049
Guests online
936
Total visitors
1,985

Forum statistics

Threads
2,274,917
Posts
28,959,318
Members
1,233,485
Latest member
senpaikatzu_88
Back
Top