Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a program that prints out the area and circumference of a circle. The program should prompt the user to enter a number and then
Create a program that prints out the area and circumference of a circle. The program should prompt the user to enter a number and then call the functions to calculate the area and circumference The program should use the function called findArea which find the area of a circle (the formula for area is area =3.14 * radius "radius). Add appropriate parameters. There should also be a function called findCircumference which prints the circumference of a circle(the formula for circumference is circumference =23.14 radius). Add appropriate parameters. I/prompt the user to enter a number for the radius 1/ call the function calcarea //call the function calccircumference \} //create the function calcarea 12 13 14 //create the function calccircumference
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started