
Lesson 5-8: Case Study Maintenance
Conditions, Logical Expressions, and Selection Control Structures | 121
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Compile and run program BMI (BMI.cpp), using your own statistics.
Exercise 2: The cutoff values for the various weight categories are given as descrete values as
shown below.
BMI Interpretation
20 Underweight
20–25 Normal
26–30 Overweight
Over 30 Obese
Examine the code of the program and determine the categories that the following BMI values fall
into.
BMI Value Interpretation
19.99 __________
20 __________
25.9 __________ ...