Develop a program that asks to enter a radius of a circle


Problem

Develop a program that asks to enter a radius of a circle, then calculates an area of the circle, by calling getArea(...) function that takes one parameter "radius".

Print both the radius and the area of the circle.

Make sure that you place your function getArea(...) above main() function. Call getArea(...) from main(), after getting radius from a user.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Develop a program that asks to enter a radius of a circle
Reference No:- TGS03268413

Expected delivery within 24 Hours