CIS1057 FIVE MINUTE TEST #3 September 21, 2010 (5) 1. What are the values of the integer variables x and y after the assignments x = 3 < 1; y = 3 < 5; (10) 2. Show how a for loop can be replaced by a while loop. (10) 3. Write code to prompt a user and read a value into an integer x. (10) 4. What is printed out by int k; for (k = 2; k < 40; k = k + 3) if (k % 5 == 0) printf("%d\n", k);