/** This program is intended to be used with the book "Java 6 -- Java 6 -- What Do You Want To Do?"
 * by Steven P. Warr and is distributed free of charge and without and expectations of remuneration.
 * Chapter BAS   NOTE all programs begin with the title of the chapter in which
 * they are intended to be used.   Copyright 2008 Steven P. Warr All rights reserved
 */


public class Bas03 
{
    public static void main(String[ ] args) 
    {
       //variable definition statements.
              String name = "Enter your name here";   	 //statements end with ; 
	          int firstNum = 5, secondNum = 3;  		 //assign values
              int sum = 0, difference = 0, product = 0; 
              double quotient = 0; 			 // The quotient will need decimals.
      		
	//calculation statements
	       sum = firstNum + secondNum;            	// You could do the calculations within the
	       difference = firstNum - secondNum;  	//println statements, but it is not as clear.
	       product = firstNum * secondNum;
	       quotient = (double)firstNum / secondNum;   //type cast  to double to get decimals.

	//output statements.
		   System.out.println("Hello " + name + " the sum of  " + firstNum + " and " +
                    secondNum + " is  " + sum);    		//variables are not in " pairs
		   System.out.println("Hello " + name + " the difference of  " + firstNum + " and " +
                    secondNum + " is  " + difference);    	//even number of "
		   System.out.println("Hello " + name + " the product of  " + firstNum + " and " +
                    secondNum + " is  " + product);      
		   System.out.println("Hello " + name + " the quotient of  " + firstNum + " and " +
                    secondNum + " is  " + quotient);  
             	// I didn’t use JoptionPane here because I want a list.
    }
}

