Write the algorithm for the following tasks:
a. To calculate the sum of any two numbers
b. To calculate the difference of any two numbers
c. To calculate the circumference of a circle
Answers
Answered by
0
Explanation:
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
Similar questions