Question: 2. Hotel Occupancy % - Ask the user to input a percentage (a number from 0-100). Validate that the number entered is within this
2. Hotel Occupancy % - Ask the user to input a percentage (a number from 0-100). Validate that the number entered is within this range. If it is not, display a message saying "Incorrect - not between 0-100". If it is a valid number, display the associated % according to the following criteria: o A 90-100 - Green o B-80-90 Blue o C-65-79- Yellow o D-51-64 - Black o F-0-50 Red
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
