Question: Below is a Java program that computes the volume of a sphere and decides if it is okay or not. There are multiple SYNTAX ERRORS

Below is a Java program that computes the volume of a sphere and decides if it is okay or not.
There are multiple SYNTAX ERRORS in this program.
Please find them all line by line and list them all. (10 points)
----------------------------------------------------
//This program computes the volume of a sphere.
import java.util.Scanner;
public class Sphere{
Scanner reader = new Scanner (System.in);
public static void main(String args []){{
Double radius PI;
boolean isOkay;
PI =3.14159;
radius = reader.next();
while(raduis <0){
radius = reader.next();
}
radius =4.0/3.0*PI*radius*radius*radius;
System.out.println('The volume is +radius);
if(radius >15.5 & radius <55.4)
bool isOkay == true;
else (radius >=55.4)
bool isOkay == false;
}
}

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 Programming Questions!