//colin hinton //5th period //Refresh.java //5/3/2016 import java.util.Scanner; public class Refresh { public static void main (String [] args) { Scanner kb = new Scanner(System.in); String name; System.out.print("Please enter your name: "); name = kb.next(); int n = 10; if (name.equals("josh")) { n = 5; } for (int x = 0;n > x; x++) { System.out.println(name); } } }Picture of the output