Question: Write code that prompts the user for a phrase and a number of times to repeat it , then prints the phrase that many times.
Write code that prompts the user for a phrase and a number of times to repeat it then prints the phrase that many times. Here is an example dialogue with the user:
What is your phrase? His name is Robert Paulson
How many times should I repeat it
His name is Robert Paulson
His name is Robert Paulson
His name is Robert Paulson
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
