Question: WAP that uses a function called carea() to calculate area of a circle. The function carea() receives radius of float type and returns area of
WAP that uses a function called carea() to calculate area of a circle. The function carea() receives radius of float type and returns area of double type. the function main() gets radius value from the user, calls carea(),and displays the result. the function carea() is local to main()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
