how do you solve 3.2.8 Repeating Message in Code HS

The program is an illustration of loops.
Loops are used to perform iterative and repetitive operations.
The correct program where comments are used to explain each line is as follows:
public class MyProgram extends ConsoleProgram {
public void run() {
//This prompts the user for the number of times to repeat the message
echo(" ", readInt("Times to repeat: "));
}
private void echo(String lineOne, String lineTwo, int numTimes) {
//The following iteration is repeated numTimes times
for (int i = 0; i < numTimes; i++){
//This prints lineOne
System.out.println(lineOne);
//This prints lineTwo
System.out.println(lineTwo);
}
}
}
Read more about similar programs at:
brainly.com/question/17972093