RECENT ASSIGNMENT

Tweet Share WhatsApp Share
GET ANSWERS / LIVE CHAT


Using the following algorithm:
Start the program.
Declare the class name as fn with data members and member functions.
Read the choice from the user.
Choice=1 then go to the step 5.
The function area() to find area of circle with one integer argument.
Choice=2 then go to the step 7.
The function area() to find area of rectangle with two integer argument.
Choice=3 then go to the step 9.
The function area() to find area of triangle with three arguments, two as Integer and one as float.
Choice=4 then stop the program.
Write a C++ program to calculate the area of circle, rectangle and triangle using function overloading.



GET ANSWERS / LIVE CHAT