*Just some basic programmes
, suggest me something to improve.
Subscribe for more such posts..
Dear Reader... I hope u are like my posts. If so then please don't forget to like , share and follow my blog for more such posts ,also feel free to write suggestions in the comment box given over here.
Thank you...
Search This Blog
Program to find the area and circumference of a circle in C.
#include<stdio.h>
void main()
{
float r , area , circumference ;
printf("radius : ");
scanf("%f" , &r);
area = 3.14 * r * r;
circumference = 2 * 3.14 * r ;
printf("area = %f\n" , area);
printf ("circumference = %f\n" , circumference);
}
No comments:
Post a Comment