HELP CODE HS 3.2.8 repeating message

The program is an illustration of loops.
Loops are used to perform iterative and repetitive operations.
The 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("Anybody home?", 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:
https://brainly.com/question/17972093