C program to calculate the area and perimeter of a circle,where radius is a input|E-studyblog|
Welcome to our Blog.Here, I have shared the source code of C program to calculate the Area and Perimeter of a Circle.Share this blog among your friends who all are interested to learn programming languages.
- C Program to swap two number with using third variable
- C Program to find the factorial of the number
- C Program to check whether the number is Palindrome or not
- C Program to swap two number without using Third variable
C program to calculate the area and perimeter of a circle,where radius is a input|E-studyblog| |
C program to calculate the area and perimeter of a circle,where radius is a input|
// C program to calculate the area and perimeter of a circle #include<stdio.h> int main(){ int radius; float area,perimeter; printf("\nEnter the radius:"); scanf("%d",&radius); area=3.14*radius*radius; printf("\nThe area of the circle is:%f",area); return 0; }
Output:
I hope you have read our Article "C Program to calculate the area and perimeter of a circle"and you have collected lots of information from there.If you like the post,then please comment and share among your friends and family. you can write your opinion about my post in the comment box.
Thank you!
No comments:
Post a Comment
If you have any queries ,please let us know