Question: Write a program to find the area and the circumference for the circle if the diameter is 10.2, but use functions for the calculation of
Write a program to find the area and the circumference for the circle if the diameter is 10.2, but use functions for the calculation of area and the circumference. Each function should have an input parameter and an output result. Print the result.
using the built-in function pow. Note you need to include the header file math.h.
using c++ language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
