Homework 3 Due Monday, Oct 7, 2002 Create a truth tables for each of the following expressions in "if" statements. In other words, tell whether it will be true or false depending on each pair of possibilities for the variables. Assume that all of the variables are boolean variables. a. if (response_received || non_interactive) b. if (!(already_made_mistake && !patience)) c. if (!already_made_mistake || patience) d. The following program segment is supposed to print out whether or not the integer value is odd or even. It doesn't work correctly. Change it so it works correctly. switch (value%2) { case 0: cout << "Even integer" << endl; case 1: cout << "Odd integer" << endl; } e. What is wrong with the following code? x=1; while (x <= 10); x++; } f. What is wrong with the following line of code? cin << value; g. Write a segment of c++ code that prints the integers from 1 to 20 using a while loop and a counter variable called ctr. Print 5 integers per line. Do problems 1, 2de, 8 from Chapter 4 Do problems 1, 3, 4, 7 from Chapter 5