write a C program to find area and circumference of circle.
Area=22/7*r*r
Circumferance=2*22/7*r
If You answer right. I will mark as brainliest sure and follow you. Please answer solemnly. Don't take it as simple.....
Answers
Answered by
1
Answer:
Here we are writing a simple C program that calculates the area and circumference of circle based on the radius value provided by user.
Formula:
Area = 3.14 * radius * radius
Circumference = 2 * 3.14 * radius
Program to calculate Area and Circumference based on user input
To calculate area and circumference we must know the radius of circle. The program will prompt user to enter the radius and based on the input it would calculate the values. To make it simpler we have taken standard PI value as 3.14 (constant) in the program. Other details are mentioned as comments in the below example program
Similar questions