Assignemnt #25 and A Dumb Calculator

Code

///Name: Ben Borglin
///Period: 6
///Program Name: A Dumb Calculator
///File Name: ADumbCalculator.java
///Date Finished: 9/21/15

 import java.util.Scanner;
 
 public class ADumbCalculator
 {
     public static void main( String[] args )
     {
     
     int one, two, three;
     int add;
    
     Scanner keyboard = new Scanner(System.in);
     
    System.out.print("What is the first number? " );
    one = keyboard.nextInt();
    System.out.print("What is the second number? " );
    two = keyboard.nextInt();
    System.out.print("What is the third number? " );
    three = keyboard.nextInt();
    
    add = (one+two+three)/2;
    System.out.print("(" + one + " + " + two + " + " + three + " / 2 is... " + add + "" );
    
    }
}
     
     
    

Picture of the output

Assignment 25