Question: Write a console application that allows the user to enter weight in kilograms and height in centimetres and calculates the body mass index (BMI).

Write a console application that allows the user to enter weight in kilograms and height in centimetres and 

Write a console application that allows the user to enter weight in kilograms and height in centimetres and calculates the body mass index (BMI). Use the following formula to calculate the BMI: bmi=weight/((height"height)/100)*100; For example: Enter weight >> 125 Enter height >> 188 Your BMI is >>35.36668175645089 10bese Use the following classifications to determine BMI and print out the results messages. Classification BMI Underweight Below 18.5 Normal Overweight Obese Criteria Variable Declarations Input Calculations Output 18.5-24.9 25-29.9 30 and above Operation Marks Variables are declared and initialised 5 marks properly. Weight and height values are captured 4 marks correctly. BMI is correctly calculated using the 2 marks given formula Based on BMI classifications, the 8 marks correct output is displayed on the screen.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Steps Step 1 of 3 Here I am providing the c code for yo... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!