=MENU===== [1] Enter in kilogram and centimeters [2] Enter in pounds and feet [3] Exit Enter choice: 99 Invalid Choice! Try again! =MENU=== == [1] Enter in kilogram and centimeters [2] Enter in pounds...


C PROGRAM


=MENU=====<br>[1] Enter in kilogram and centimeters<br>[2] Enter in pounds and feet<br>[3] Exit<br>Enter choice: 99<br>Invalid Choice! Try again!<br>=MENU===<br>==<br>[1] Enter in kilogram and centimeters<br>[2] Enter in pounds and feet<br>[3] Exit<br>Enter choice: 1<br>Enter weight: 55<br>Enter height: 165<br>Your BMI is 20.202021<br>You are normal<br>=MENU==<br>[1] Enter in kilogram and centimeters<br>[2] Enter in pounds and feet<br>[3] Exit<br>Enter choice: 3<br>Goodbye!<br>...Program finished with exit code 0<br>Press ENTER to exit console.<br>

Extracted text: =MENU===== [1] Enter in kilogram and centimeters [2] Enter in pounds and feet [3] Exit Enter choice: 99 Invalid Choice! Try again! =MENU=== == [1] Enter in kilogram and centimeters [2] Enter in pounds and feet [3] Exit Enter choice: 1 Enter weight: 55 Enter height: 165 Your BMI is 20.202021 You are normal =MENU== [1] Enter in kilogram and centimeters [2] Enter in pounds and feet [3] Exit Enter choice: 3 Goodbye! ...Program finished with exit code 0 Press ENTER to exit console.
BMI Calculator<br>Create a C program that will compute for the body-mass index of a given height and weight. After calculating<br>the BMI, the program willl also tell under which category(underweight, normal weight, overweight,or obese) it<br>belongs to.<br>The user will be given two (2) choices before entering the height and weight. The menu must loop<br>repeatedly until the exit option is entered.<br>a. Enter in kilogram and centimeters<br>- This will ask for the weight in kilograms and height in centimeters.<br>b. Enter in pounds and feet<br>- This will ask for the weight in pounds and height in feet.<br>c. Exit<br>- Once chosen, the program must terminate.<br>

Extracted text: BMI Calculator Create a C program that will compute for the body-mass index of a given height and weight. After calculating the BMI, the program willl also tell under which category(underweight, normal weight, overweight,or obese) it belongs to. The user will be given two (2) choices before entering the height and weight. The menu must loop repeatedly until the exit option is entered. a. Enter in kilogram and centimeters - This will ask for the weight in kilograms and height in centimeters. b. Enter in pounds and feet - This will ask for the weight in pounds and height in feet. c. Exit - Once chosen, the program must terminate.

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here