Menu

Java Write Code Repeat Phrase Specified User Many Example Prompt User Say Enter Word Repea Q43821637

IN JAVA

Write a code that will repeat a phrase over and over again andspecified by the user how many. For example, it will prompt theuser to say “Enter a word to repeat.” and after they input theword, they will be prompted to “Please enter how many times youwant this phrase to be repeated.” The code needs to take the phraseand 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

Expert Answer


Answer to IN JAVA Write a code that will repeat a phrase over and over again and specified by the user how many. For example, it w…

OR