CIS71, Section 4 FIVE MINUTE TEST #3 September 19, 2006 (10) 1. Given an example of a syntactic error, of semantic error, of a logical error. (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);