Question: Circles Program DESCRIPTION: Using the builtin Math.Pl constant, find the circumference and area of a circle with a radius that is provided by the user.

 Circles Program DESCRIPTION: Using the builtin Math.Pl constant, find the circumference

Circles Program DESCRIPTION: Using the builtin Math.Pl constant, find the circumference and area of a circle with a radius that is provided by the user. Also provide the rounded approximation of the area (to the nearest integer). ** Note: this is NOT truncating. Circumference of a Circle: C = 2 TT Area of a Circle: IT r2 SPECIFICATIONS: File Name: Circles.java Create a method called circle Math() to be called from main to calculate the circumference and area of a circle Select the best Scanner and Math methods for this problem Be sure to close the Scanner class object! scanner.close(); Your output must match the sample output exactly (last few digits may differ) SAMPLE OUTPUT (use these values to test your code): =========== ========== Radius: 10 CIRCUMFERENCE = 62.83185307179586 AREA = 314.1592653589793 ROUNDED AREA = 314

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!