Question: IN JAVA Write a code that will repeat a phrase over and over again and specified by the user how many. For example, it will
IN JAVA
Write a code that will repeat a phrase over and over again and specified by the user how many. For example, it will prompt the user to say "Enter a word to repeat." and after they input the word, they will be prompted to "Please enter how many times you want this phrase to be repeated." The code needs to take the phrase and put it on a new line every time it is repeated and add 1 to it. So it should look something like this.
Line 1: Word
Line 2: Word 1
Line 3: Word 2
Line 4: Word 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
