/** * Class for creating a template for a simple Java program * * @author Pat Troy: troy AT uic DOT edu */ // Note the name of the class in the following line MUST // match the name of the file. This is stored in a file // named: Template.java public class Lect121a { public static void main (String[] args) { System.out.println("Begin Java Exection"); System.out.println(""); // put your Java Program here int length; int width; int area; length = 6; width = 4; area = length * width; length = SimpleInput.getIntNumber ("Enter the length"); width = SimpleInput.getIntNumber ("Enter the width"); System.out.println (length * width); System.out.println (area); area = length * width; System.out.println (area); SimpleOutput.showInformation ("The area is: " + area); System.out.println(""); System.out.println("End Java Exection"); } } // end of Template class