Computer Science, asked by amansood9805, 10 months ago

Create a class shapes with an overloaded function area()to find the area of a circle πR2

Answers

Answered by karthikreddyvenna
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