Write a program that has a class named as Area and has attributes that are necessssary to calculate the area of shapes i.e length,width,height,radius etc.
#include <iostream>
using namespace std;
class Area(){
private:
double length;
double width;
double height;
double radius;
};
int main()
{
Area a;
return 0;
}
Comments
Leave a comment