Computer Science, asked by alfredywardkhar6, 4 months ago

#a program to find area of circle
radius=input ("please enter the number of radius")
area of circle=314*radius*radius
print ("the area of circle is "area of circle)​

Answers

Answered by Anonymous
10

Program to Find out the area of circle

#include<iostream.h>

#include<conio.h>

#include<math.h>

#define PI 3.14

void main()

{

clrscr();

float area;

int r;

cout<<"Enter the value for r";

cin>> r;

area = PI * r * r;

cout<<"Area of circle=" <<area;

getch();

}

Similar questions