SphereVolume Class

 

import java.util.Scanner;

public class SphereVolume {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

double radius = 0;
double volume = 0;
double area = 0;

System.out.print("Enter the radius of the sphere: ");
radius = input.nextDouble();

//Sphere Volume = 4/3 * π * r3
//Sphere Surface Area = 4 * π * r2

volume = ;
area = ;

System.out.println("Volume : " + volume);
System.out.println("Surface Area : " + area);
}
}