///Name: Morgan Kaplan ///Period: 5 ///Project Name: Refresher Challenge ///File Name: Reftwo.java import java.util.Scanner; public class Reftwo { public static void main( String[] args ) { Scanner momo = new Scanner(System.in); System.out.println("What is your name?"); String name=momo.next(); int a=10; if (name.equals("Josh")) { a= 4; } for ( int n = 1 ; n <= a ; n = n+1 ) { System.out.println( " " + name + " " ); } } }