Question: in Java for PC please Area of a circle Write a java program that takes one decimal values c, which is a circumference of a
Area of a circle Write a java program that takes one decimal values c, which is a circumference of a circle, from the command line. Your task is to write an expression to compute the area of the corresponding circle. For example, executing your program, java Area 10, should produce the following: Area 7.96 Your program should format the answer with two digits beyond the decimal point. We recommend you learn about system.out.printf(). Area of circle is: PI radius radius circumference of a circle is: 2 PI radius
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
