Exercise 3 - Due at 11:59:00 PM EST on Sunday, 01/30/2022 through Canvas You may solve all fo the pobles in the same file. 1. 1. Read in 4 integers - val1, val2, val3 and val4 from the user. Calculate and print the following: a. val1 + val2 * val3 b. val2 / val3 - val4 c. val4 % val1 * - val2 Verify your solutions by hand. 2. Read in 3 integers -> a, b and c, and 3 floating point numbers -> x, y and z. Then, declare an intger called "ans" and a floating point number called "result". Then, a. Calculate ans = a/b + x/y. Print it b. Calculate result = a/b + x/y. Print it c. Calculate ans = b/c + y/z, where y/z is calcuated as an integer. Print it. d. Calculate result = b/c + y/z, where b/c is calulated as a floating point number. Print it 3. Read in 2 integers a and b from the user. Calculate the following, using the regular arithmetic operators. Print the output after every statement. a. a = a + b b. b = b - a c. a = a * b d. b = b % a e. a = a / b 4. Read in 2 integers a and b from the user (the sample runs inputs the same values as the previous problem). Calculate the following, using the shorthand operators. Print the output after every statement. a. a=a+b b. b=b-a c. a=a*b d. b=b%a e. a=a/b Sample Run: Problem 1: Enter 4 numbers: 12 34 21 16 The results are: 726 -15 -136 Problem 2: Enter 3 integers: 39 23 4 Enter 3 doubles: 12.8 9.8 3.2 Ans: 2 Result: 2.30612 Ans: 8 Result: 8.8125 Problem 3: Enter the value of a: 10 Enter the value of b: 8 After (a), a = 18 After (b), b = -10 After (c), a = -180 After (d), b = -10 After (e), a = 18 Problem 4: Enter the value of a 10 Enter the value of b: 8 After (a), a = 18 After (b), b = -10 After (c), a = -180 After (d), b = -10 After (e), a = 18