C Program to calculate area and circumference of the circle
by Nideesh C on April 18, 2011 · 0 comments
in C Programming
#include<stdio.h>
void main()
{
float area, radius, circum;
clrscr();
printf(“nnt ENTER THE RADIUS OF THE CIRCLE…:”);
scanf(“%f”, &radius);
area = 3.142 * radius * radius;
circum = 2 * 3.142 * radius;
printf(“nnt THE AREA OF THE CIRCLE IS…: %f”, area);
printf(“nnt THE CIRCUMFERENCE OF THE CIRCLE IS…: %fn”, circum);
getch();
}
Not Satisfied ? Just search & get the result
Related posts:
- C program to find the area of a circle, given the radius
- C program to accept a figure code and find the ares of different geometrical figures such as circle, square, rectangle etc using switch
- C Program – Implement the midpoint circle drawing algorithm
- Sample – Program to draw circles.
- C program to compute the surface area and volume of a cube
Tagged as:
C Program To calculate area and circumference of the circle,
circumference of the circle,
To calculate area and circumference of the circle
Me, freelance system administrator having the qualification of Diploma in Electronics & Tele-communication + MCSE + CCNA + CST + 5 years of experience in IT field.
If you like This post, you can follow TheOnlineTutorials on Twitter.
Contact me Via email: support@theonlinetutorials.com
Subscribe to feed via Feed or EMAIL to receive instant updates.
Legal Disclaimer:All information found on the site is without any implied warranty of fitness for any purpose or use whatsoever. Content author/site administrator is not responsible for any loss occurred due to mistakes in this tutorial. Use this tutorial website at your own risk.