///Name: Ian Grant ///Period:5 ///Project Name: Refresher Challenge ///File Name:Refresher2.java ///05/06/16
import java.util.Scanner; public class Refresher2 { public static void main (String [] args) { Scanner stuff = new Scanner(System.in); System.out.println("What is your name: "); String name = stuff.next(); for (int i=1;i< 5;i++) { if (!name.equals("Josh")) { System.out.println(name); } System.out.println(name); } } }