% Problem 3 of HW 9 clear % Get input n = input('Input an integer n: ') % The value of n is even if the remainder when n is divided by two is zero. if(mod(n,2) == 0) disp('n is even') else disp('n is odd') end