Tuesday, July 10, 2018

Area of the Circle Solver in C

In this article I would like to share with you a simple program to solve the are of the circle using C language.

I am currently accepting programming work, it project, school 

programming projects , thesis and capstone projects, IT consulting 

work, computer tutorials and web development work kindly contact me in the following email address for further details.  If you want to advertise in my website kindly contact me also in my email address also. Thank you.
My email address are the following jakerpomperada@gmail.com and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Program Listing

circle.c


#include <stdio.h> 

#define Pi 3.1416 

main() {  
 int r;   
 float A; 
 printf(“\n Enter the radius:”); 
 scanf(“%d”,&r); A=Pi*r*r; 
 printf(“\n The area:%f”,A); 
 return 0;
 }   

No comments:

Post a Comment