Problems
Write a function that receives a radius and outputs the area. Write a program that receives a radius and calls the function to output the area. However, set pi (π) to 3.14 and round it to two decimal places.
Area of a circle = radius (r) * radius (r) * pi (π).
Example
10
314.00
Source
자기주도C언어프로그래밍