Question
Problem Description and Given Info For this project you will write, run, test, correct, and submit a Java program that computes and displays information about
Problem Description and Given Info
For this project you will write, run, test, correct, and submit a Java program that computes and displays information about the various properties of a circle, such as radius, circumference, and area.
For the calculations that require Pi, you must use the value 3.1415.
Example Output
The output of your program must look exactly like this:
Properties of a Circle Radius : 10.25 Diameter : 20.5 Circumference : 64.40075 Area : 330.05384375 Area of Semicircle : 165.026921875 Properties "Rounded" Down Radius : 10 Diameter : 20 Circumference : 64 Area : 330 Area of Semicircle : 165
Other Details
Note that, for this assignment, all of the numeric values, except the radius (10.25) will be computed and not "hard-coded".
For reference, here are some useful formulas and definitions for computing the properties of a circle:
diameter = radius * 2
circumference = Pi * diameter
area = Pi * radius2
a semicircle is half of a circle
Helpful Hints
Use spaces instead of tabs to line up your outputs
Your program output must match the expected output exactly, including spelling, capitalization, punctuation, spaces, and number of decimal places.
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