Program To find Are and Circumference of a Circle with Radias

#include<conio.h>

#include<stdio.h>

#include<math.h>

void main()

{

int r;

float A,C;

clrscr();

printf("Enter the value of "R" of circle");

scanf("%d",&r);

A=3.14*r*r;

C=2*3.14*r;

printf("Area of given circle %0.02f",A);

printf("\n Circum ference of given circle %0.02f",C);

getch();

}

Output

Enter the value of R of circle=4

Area of given circle=50.24

Circum ference of given circle=25.12

Comments

Popular posts from this blog

Gove confirms mandatory housebuilding targets for councils will be abolished in face of Tory rebellion – UK politics live

Kotak Mahindra Bank Recruitment 2022 Released for Graduate Candidates And Apply Online