// The "FirstProgram" class. import java.awt.*; import hsa.Stdin; public class FirstProgram { // are comments - notes ignored by the computer /* if your comment is more than one line,. use the slash star method - note - comments are in green. Comments allow the reader of the program to better understand it. Important! Especially when that reader is your teacher, who will grade you. Also important in industry, where our company will hire a new programmer to make changes to your code long after you are gone (from he company)*/ public static void main (String[] args) { System.out.println("Welcome to this first program."); System.out.println("Type in 2 integers, separated by a space or spaces:"); int num1,num2; num1=Stdin.readInt(); num2=Stdin.readInt(); int sum=num1+num2; int product=num1*num2; int difference=num1-num2; int quotient=num1/num2; System.out.println("The sum of "+num1+" and "+num2+" is "+sum); System.out.println("The difference "+num1+"-"+num2+" is "+difference); System.out.println("The product of "+num1+" and "+num2+" is "+product); System.out.println("The quotient of "+num1+"/"+num2+" is "+quotient); } // main method } // FirstProgram class