package loopquestion;
import java.util.Scanner;
public class LoopQuestion {
public static void main(String[] args)
{
{
Scanner input = new Scanner (System.in);
String z;
System.out.println("What is your name?");
z = input.nextLine();
String y;
System.out.println("What is your phrase?");
y = input.nextLine();
String x;
System.out.println("Please input how many times you want '" + y + "' to be repeated, lord " + z + ": ");
System.out.println(y * x);
}
}
}
//Sorry if i did anything wrong, first time on the site :D :o