Exercise 14 - Due at 11:59:00 PM on 10/05/2021 Both problems can be slved in the same cpp file 1. Write a C++ function to calculate the area of a rectangle. The function will accept 2 double parameters and return a double. Sample Run: Enter the height: 2.5 Enter the width: 3.8 The area is 9.5 2. Write a C++ program that incudes a global variable pi. Intitialize it with 3.1415. Write a void function called printArea that takes in the radius of the circle as a parameter and uses the global pi to calculate and print the area. In the main function, create a local variable called pi. Read in pi and the radius of the circle from the user. Calculate the area with the new values and print it. Also, call the printArea function. Sample Output: Enter the radius: 15.5 Enter the value of pi: 3.14 The area calculated in main: 754.385 The area calculated in printArea: 754.7454