Write a program that will calculate the circumference of a figure. The program must use two overloaded functions, each named calcCircumference. The first function must calculate the circumference of a circle, and will have one parameter of type double that represents the radius of the circle. The second function will have two parameters of type double representing the length and width of a rectangle. Both functions must calculate the circumference and return the value as type double.
The main function should request the user to specify whether the circumference of a rectangle or a circle must be calculated, and depending on the answer, the user must either be prompted to enter the radius of the circle, or the length and the width of the rectangle. The main function should then call the correct overloaded function and display the circumference. Define a double constant variable PI with the value of 3.14285 to use for the calculation of the circumference of the circle..