/* Lesson 2
   - mkdir, rmdir commands 
   - recap code, compile, run process
   - review git process
   - introduce the following:
	comments
 	int variable type
	printing integer values
	Scanning integer values
	integer operations
 */

/* Git process

 $ git add <filename>
 $ git commit -m "meaningful message describing changes you've made"
 $ git push

*/



import java.util.Scanner;


class Aug29 {
	public static void main(String[] args) {

		// this is a comment ignored by javac

		// declare a variable which is stored in RAM
		// general form: type identifer = literal_value;

		//int age = 29;
		//System.out.println(age);	
		//System.out.println("the value of age is " + age);

		// Create a new Scanner object
		// Scanner is type, kb is identifier, RHS calls constructor

		Scanner kb = new Scanner(System.in);

		System.out.println("Please enter a length:");

		int length = kb.nextInt();

		System.out.println("You entered: " + length);

		System.out.println("Please enter a height:");

		int height = kb.nextInt();

		System.out.println("You entered: " + height);

		int area = height * length;

		System.out.println("The area is: " + area);	
	
	}
}
