Assignemnt #109 More Refresh

Code

    /// Name: Caelan Dorstad
    /// Period: 6
    /// Program Name: MoRefresh
    /// File Name: MoRefresh.java
    /// Date Finished: 5/5/2016
    
  import java.util.Scanner;

public class MoRefresh{
    public static void main(String[] args){
        Scanner keyboard = new Scanner(System.in);
        
        System.out.print("Name?: ");
        String name = keyboard.nextLine();
        
        int trial = 10;
        
        if (name.equals("Josh")){
            trial = (trial - 5);
        }
        for ( int i = 0 ; i
    
            
                               

    

Picture of the output

Assignment 10