3 Selection Q5

Construct a program that asks the user for their age. If they are older than 18 then the program should ask for their height in cm and their weight in KG. The program should then calculate their BMI and display an appropriate message.

Scroll to Top