Assignemnt #21 Dumb Calculator

Code

    ///Name:JJ Deng
    ///Period: 6
    ///Program Name Dumb Calculator
    ///File Name: DumbCalc.java
    ///Date Finished: 10/6/15
    
    import java.util.Scanner;
    
    public class DumbCalc
    {
        public static void main( String[] args)
        {
            Double F, S, T;
            
            Scanner J = new Scanner(System.in);
            
            System.out.print( "What is your first number?");
            F = J.nextDouble();
            
            System.out.print("What is your second number?");
            S = J.nextDouble();
            
            System.out.print("What is your third number?");
            T = J.nextDouble();
            
            System.out.println();
            System.out.print( "(" + F + "+" + S + "+" + T +") / 2 is... "+ ((F+S+T)/2) );
            System.out.println();    
        }
    }
    

Picture of the output

Assignment 21