0% found this document useful (0 votes)
7 views1 page

Circle Area and Circumference Program

Uploaded by

krtiwarianurag
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Circle Area and Circumference Program

Uploaded by

krtiwarianurag
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Name - Anurag Kumar Tiwari Roll No - A2025CSE12289

PROGRAM 4
PROGRAM 3
WAP to calculate the area and circumference of a circle.
#include<stdio.h>;

#include<conio.h>;

#include<math.h>;

void main()
{

float r, A, C;

clrscr();

printf("Enter radius of circle: ");

scanf("%f", &r);

C = 2 * 3.14 * r;

A = 3.14 * r * r;

printf("Circumference of the circle: %f\n", C);

printf("Area of the circle: %f\n", A);

getch();
}
OUTPUT

You might also like