Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions

Question

1. Identify and control your anxieties

Answered: 1 week ago