Question: Write a small program that asks the user how many asterisks it should print out. The user responds with a number, then the program prints

Write a small program that asks the user how many asterisks it should print out. The user responds with a number, then the program prints that number of asterisks. The number of asterisks to print should be stored in a variable. Finally the program asks the user if it should start over, and repeats as many times as the user wants. The prompt to run the program again should look like the one below, and should wait at the end of the line for the user input.

Do you want go again? (y/n):

From this assignment on, all programs must include a student header. The student header showing who wrote it, the Course Name(CS Intro to blah, blah), The Course Registration Number, the modification date, and the assignment name. This is called your student header.

For example, each of my programs must include a block of comments at the top like this below where the labels (a word followed by a colon with no spaces in between):

// Name: Johnson

// Course: programming

// CRN: 30134

// Date: 5/20/2015

// Assignment: Asterisks

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!