Question: You are writing a program that takes in a number from a user and then prints out a line of ' * ' ' s

You are writing a program that takes in a number from a user and then prints out a line of '*''s that size. What is the BEST type of loop to use?
Do-While
For-Loop
While-Loop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!