Assignment #25 and Dumb Calculator

Code

///Name: Trent Lane
///Period: 6
///Program Name: Dumb Calculator
///Date Finished: 10/5/15

import java.util.Scanner;

public class DumbCalculator
{
    public static void main( String[] args )
    {
        int first, second, third;
        
        Scanner keyboard = new Scanner(System.in);
        
        System.out.print( "What is your first number? " );
        first = keyboard.nextInt();
        
        System.out.print( "What is your second number? " );
        second = keyboard.nextInt();
        
        System.out.print( "What is your third number? " );
        third = keyboard.nextInt();
        
        System.out.println( first + second + third / 2 + " is... " + (first + second + third) / 2 );
    }
}
        
 

Picture of the output

Assignment 25