Computer Science, asked by parthagarwal4085, 1 year ago

Write a c++ program to find the area of a circle using the formula area=pi*r2

Answers

Answered by zeeshan3828
7
Area Of a Circle

#include<iostream.h>
int main(){
int a,r;
printf("Enter a number to calculate the area ");
scanf("%d",r);
area=pi*r^2;
printf("Area is :", area);
}
Similar questions