1-Write a program in C++ using classes to calculate the ...
1-Write a program in C++ using classes to calculate the area of a circle , a rectangle and a triangle on user’s choice.
#include
#include
class ar
{private:float a;
public:ar()
{a=0;}
~ar()
{a=0;}
void area(float x)
{a=3.4142*x*x;
}
void area(float x,float y)
{a=x*y;
}
void area(float x,float y,int u)
{a=(x*y)/2;
}
void showarea()
{cout ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- how to write a resume in 2019
- how to calculate the difference in percentage
- how to write a macro in excel
- how to write a function in matlab
- how to calculate the wavelength in nm
- create a matrix in python using for
- how to write a function in python
- how to calculate the sum in excel
- how to write a function in c
- write a program that lets user enter in a potentially unlimited series of price
- how to write a matrix in python
- write a program to ask the user to enter number of real numbers n then read in