Question: Write a script that asks the user to enter 3 numbers then you will output three rows of stars that corresponding to the numbers entered.

Write a script that asks the user to enter 3 numbers then you will output three rows of stars that corresponding to the numbers entered. Note the numbers entered by the user cannot greater than 20 or less than 5. The second screen shot I not acceptable since user entered 234 which is greater than 20. This page says: 10 OK Cancel OK 53xt This page says: Input not in range. Enter a number OK Cancel This page says Enter a number OK The program will output three lines of stars. With the first one 10 stars in red, second line 15 stars in yellow and the third line 12 stars in blue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
