import java.util.Scanner;

class Practice {

	public static void main(String[] args) {

		Scanner kb = new Scanner(System.in);
		
		while(true) {

			System.out.println("1. Add");
			System.out.println("2. Subtract");
			// ...

			System.out.println("Please enter an option number");
			int option = kb.nextInt();

			/* 
			 * since all operators require two operands I get the
			 * values for the operands once here.
			 */

			System.out.println("Please enter the first operand");
			int operand1 = kb.nextInt();

			System.out.println("Please enter the second operand");
			int operand2 = kb.nextInt();

			// perform the operation based on the option

			if (option == 1) {
				int result = operand1 + operand2;
				// print equation with result

			} else if (option == 2) {
				// ... 
			} 
			// ...
			else if (option == 6) {
				break;
			}
		}
		System.out.println("terminating program");
	}
}
