Assignemnt #25

Code

                      /// Name: Holden Ganch
                      /// Period: 7
                      /// Program Name: twenty fifth Program
                      /// File Name: DumbCalculator.java
                      /// Date Finished: 9/30/2015
            
            
            import java.util.Scanner;

                public class DumbCalculator
                {
                	public static void main( String[] args )
                	{
                		Scanner keyboard = new Scanner(System.in);
                
                
                		double one, two, three, four;
                
                		System.out.print( "What is Your first number? " );
                		one = keyboard.nextDouble();
                
                		System.out.print( "What is Your second number? " );
                		two = keyboard.nextDouble();
                        
                        System.out.print( "What is Your third number? " );
                		three = keyboard.nextDouble();
                        
                        four = (one + two + three) / 2;
                
                		System.out.println( " ( " + one + " + " + two + " + " + three + " ) /2 is......." + four+ "  " );
                	}
                }



    

Picture of the output

Assignment 25