Nested if statement practice

Feb 1, 2017 at 7:37pm
Hey everyone I'm new around here, I am learning c++ (teaching myself) and I want to challenge myself with the nested if statements, they seem to be giving me the most problems, can anyone here give me a few nested if practice problems? If anyone can come up with some for me to practice that would be fantastic :D
Feb 1, 2017 at 9:23pm
closed account (3vX4LyTq)
1. Find the Smallest Number! - Write a program that inputs three integers and passes
them to a function that returns the smallest number.

2. Body Mass Index (BMI) calculator. Write a program that asks the user to input their
weight in pounds and height in inches and then calculates and displays the user's BMI.

The program should also indicate if the person is underweight, normal, overweight or obese.

Good luck
Feb 1, 2017 at 9:43pm
Hey thanks for this :D, when I finish writing it I will post it back in here for reference and for someone to check.
Topic archived. No new replies allowed.