Assignemnt #109: Refresher Challenge

Code

    /// Name: Cassie Rapp
    /// Period: 6
    /// Program Name: Refresher Challenge
    /// File Name: RefreshingChallenge.java
    /// Date Finished: 5/3/2016
    
    import java.util.Scanner;
    
    public class RefreshingChallenge {
        
        public static void main(String[] args) {
            
            Scanner keyboard = new Scanner(System.in);
            
            System.out.println();
            System.out.print( "Your name: " );
            String name = keyboard.next();
            
            int josh = 10;
            
            if ( name.equals("Josh") ) {
                josh = 5;
            }
            
            for ( int i=0; i
    

Picture of the output

Assignment 109