Question: Could you please help me solve this question : Write a program name CalculateArea to calculate the area of a circle and a rectangle. The
Could you please help me solve this question : Write a program nameCalculateAreato calculate the area of a circle and a rectangle. The radius of the circle is 8.5, the length of the rectangle is 25.7 and the width is 13.2. Write two overloaded methods namedCalArea().The one calculating the area for a circle accepts only the radius, but the one calculating the area for a rectangle accepts the length and the width. Display the area for both the circle and the rectangle. Use 3.14 for .
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
