Assignemnt #25 and A Dumb Calculator

Code

    /// Name: Mark Katz
    /// Period: 6
    /// Program Name: A Dumb Calculator
    /// File Name: Dumb.java
    /// Date Finished: 9/21/15


import java.util.Scanner;
  
  public class Dumb
  {
      public static void main( String[] args )
      {
      
      Double num1, num2, num3, num4;
      
      
      
      
      Scanner keyboard = new Scanner(System.in);
      System.out.println( "What is your first number?" );
      num1= keyboard.nextDouble();
    
      System.out.println( "What is your second number?" );
      num2= keyboard.nextDouble();
    
      System.out.println( "What is your third number?" );
      num3= keyboard.nextDouble();
          
      num4= num1+num2+num3/2;
          
      System.out.println(  "(" + num1 + "+" + num2 + "+" + num3 + ")/2 is..." + num4 + "" );
          
        }
  }
    

Picture of the output

Assignment25