Question: PLEASE WRITE THE CODE IN JAVA FOR BOTH PARTS THANK U Write a program that inputs the radius of a circle from the user. The
PLEASE WRITE THE CODE IN JAVA FOR BOTH PARTS THANK U

Write a program that inputs the radius of a circle from the user. The program should provide the user with the following choices. (1) Enter A or a to calculate area of circle Formula: Area =PI radius radius (2) Enter C or c to calculate circumference of circle Formula: Circumference =2PI radius (3) Enter D or d to calculate diameter of circle Formula: Diameter =2 radius The program should read the choice from the user, perform calculations and display the relevant result. If the user enters an invalid choice, display a relevant error message. Make use of switch statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
