import java.util.Scanner;

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

		int[] arr1 = IntArray.create(2,4,6,8,10);
		IntArray.print(arr1);
	

		int[] row1 = {1,2,3};
		int[] row2 = {-2,-1,-3};
		int[] row3 = {9,8,7};

		int[][] matrix1 = IntMatrix.create(row1, row2, row3);
		IntMatrix.print(matrix1);

		int[][] matrix2 = IntMatrix.clone(matrix1);
		IntMatrix.print(matrix2);

		Scanner kb = new Scanner(System.in);
		System.out.println("Enter an integer between 1 and 3");
		
		//int input = kb.nextInt();
		//char input = kb.next().charAt(0);
		String input = kb.next();

		switch(input) {
			case "1":
				System.out.println("thank you one");
				break;
			case "2": 
				System.out.println("hello 2");
				break;
			case "3":
				System.out.println("Welcome three");
				break;

			default: 
				System.out.println("whats up other?");
		}

		int[] arr3 = {1,2,3,4,5,6,7,8,9};
		int[][] squareMatrix = IntArray.square(arr3);
		IntMatrix.print(squareMatrix);	
	
	}
}
