Exercise 4 - due at 11:59:00 PM EST on Sunday, 02/06/2022 through Canvas. You may solve all the poblems in the same file. Each of these problems might take you between 10 and 20 minutes (not counting testing). 1. Read in 3 integers, x, y and z. Use output cascading (one cout statement) to print the following truth values: a. y is smaller than x b. z is not 0 c. Is the value of x a 3 digit number? d. Are exactly two of the values positive? C++ would print 1 for tue and 0 for false here. 2. Read in 3 floating point numbers and print if their sum is between 100 and 250 (inclusive) or not. 3. Write a C++ code snippet that displays a menu to the user, and reads in a character as a choice. If the choice were 'a', read in 2 integers. If both numbers are greater than 100, add them. Otherwise, multiply them. If the choice were 'b', read in 3 doubles. If any of them is 0, print their sum. Otherwise, print their product. 4. The in-class example for the pass/fail if...else statement (done on Wednesday) chooses to equally weight the midterms and the final. Modify the code snippet to change that by a. Reading in 3 values for exams instead of 1: mid1, mid2, and fin b. Calculae the total by just adding these 3 variables to "total" instead of "exam" c. Calculate the mileAvg as ((mid1/12 + mid2/12 + fin/15)/3)*100 5. Write a C++ code snippet to read in a time (only the hour, in millitary time). If the time is before noon, print "Good Morning". If it is between noon and 6 PM, print "Good Afternoon". Otherwise, print "Good Evening". Sample Outputs (multiple runs shown for certain problems): Problem 1: Enter the value of x: 5 Enter the value of y: 13 Enter the value of z: -4 (a): 0 (b): 1 (c): 0 (d): 1 Problem 2: Run 1: Enter 3 floats: 41.25 18.96 65.74 The sum is between 100 and 250 Run 2: Enter 3 floats: 1.25 8.96 5.74 The sum is not between 100 and 250 Problem 3: Run 1: Please choose between options a and b. a. Integer calculations b. Floating point calculations Enter choice: a Enter 2 integers: 110 140 The result is 250 Run 2: Please choose between options a and b. a. Integer calculations b. Floating point calculations Enter choice: a Enter 2 integers: 15 120 The result is 1800 Run 3: Please choose between options a and b. a. Integer calculations b. Floating point calculations Enter choice: b Enter 3 floating point numbers: 2.5 15.8 3.56 The result is 140.62 Run 4: Please choose between options a and b. a. Integer calculations b. Floating point calculations Enter choice: b Enter 3 floating point numbers: 12.98 0 -4.876 The result is 8.104 Problem 4: Run 1: Enter the grades (CP, PE, DS, Mid1, Mid2, Fin, HW): 7 8 7 10 11 12 29 You passed! Congratulations! Your grade was 86 Your test average was 85 Run 2: Enter the grades (CP, PE, DS, Mid1, Mid2, Fin, HW): 7 6 6 11 11 11 11 Please try again! Your grade was 65 Your test average was 85.5556 Run 3: Enter the grades (CP, PE, DS, Mid1, Mid2, Fin, HW): 5 7 7 8 8 9 35 Please try again! Your grade was 81 Your test average was 64.4444 Problem 5: Run 1: Enter the time: 10 Good Morning Run 2: Enter the time: 21 Good Evening