/// Name: Jonathan Stine /// Period: 5 /// Program name:Refresher Challenge /// File Name: Refresh2.java /// Date Finished: 4/21/2016 import java.util.Scanner; public class Refresh2 { public static void main (String [] args) { Scanner one = new Scanner(System.in); String name; System.out.print("Please enter your name: "); name = one.next(); int n = 10; if (name.equals("Jonathan")) { n = 5; } for (int x = 0;n > x; x++) { System.out.println(name); } } }