Write a program that will print the message “Computer Science is cool!!” 10 times. Use a while loop. 2. Instead of printing 10 times, ask the user how many times the message should be printed. You...


Write a program that will print the message “Computer Science is cool!!” 10 times.

Use a while loop.
2. Instead of printing 10 times, ask the user how many times the message should be

printed. You will need to declare a variable to store the user’s response and use

that variable to control the loop.

3. Number each line in the output, and add a message at the end of the loop that says

how many times the message was printed. So if the user enters 3, your program

should print this:



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here