Assignemnt: #108 and A Refresher

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: A Refresher
/// File Name: refresher.java
/// Date Finished: 5/2/2016

import java.util.Scanner;

public class arefresher
{
    public static void main( String[] args )
    {
        Scanner keyboard = new Scanner(System.in);
        String name;
        System.out.print( "What is your name: " );
        name = keyboard.next();
        if ( name.equals("Josh"))
        {
            for ( int x = 0; x <= 5; x++ )
            {
                System.out.println( name);
            }
        }
        else
        {
            for ( int x = 0; x <= 10; x++ )
            {
                System.out.println(name);
            }
        }
    }
}