Create a class shapes with an overloaded function area()to find the area of a circle πR2
Answers
Answered by
0
Answer:
#include<iostream.h>
#include<conio.h>
void main();
{
floot r, pi=3.14
clrscr();
cout<<"radius="<<"/n";
cin>>r;
cout<<"area of circle"<<pi*r*r<<"/n";
getch():
}
Explanation:
Hope it helps you please give me a vote and mark me as the brainliest, If it is wrong please forgive me
Similar questions