Question: Create a console application project: 1 . Ask user for input with message Please enter a number. 2 . Accept user input in an integer

Create a console application project:
1. Ask user for input with message Please enter a number.
2. Accept user input in an integer variable.
3. Use the for loop statement to print out this message as many times as the number that user input
The print out message is:
*********************
4. Ask user if they want to continue with the message Do you want to continue (y/n)?
5. Use the while loop to allow user to repeat steps from 1-6 if the user enters y.

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 Finance Questions!