Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!