Question: Java: Step 1: Ask user to input the radius r Step 2: If the value of R is 0, then print an error message Step
Java: Step 1: Ask user to input the radius r
Step 2: If the value of R is 0, then print an error message
Step 3: If user enter rec, then use rec area calculation(Assume l and w are same as R)
Step 4: If user enter circle, the use 3.14 * r* r
If you want to calculate circle, then enter 0 or 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
