Construct a loop

Construct a loop

Construct a loop which will allow for the daily fan count to be entered for each game. The games number (1-4) should be part of the prompt displayed to the user. Within this loop, you will need other loop(s) to validate the fan counts as entered by the user. For example, is two dollars or -100 reasonable?
For each game, a horizontal bar chart will display (“@”) for every 100 fans. For example, if the daily fans for a particular game are $500, then 5 @ should be displayed (@@@@@)

 

 
 
 
Powered by