Program To find Are and Circumference of a Circle with Radias January 01, 2018 Programing In C No comments #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 Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment