Example 16: Determine the Weight Class of a Boxer
You will learn how to determine the weight class of a boxer using multiple if conditions.
We'll cover the following...
Problem
In boxing, the weight class of a boxer is decided as per the following table. Write a program that receives weight as input and prints out the boxer’s weight class.
Boxer Class | Weight in Pounds |
---|