im tyinh to writ a program to calculate nd display the volum ,area as well as the area of 6 sides of the rectangular prism but im stuck lol im a beginners
import java.util.Scanner;
public class RectangularPrism {
public static void main(String[] args) {
int length;
int width;
int height;
String units;
int volume;
int surfaceArea;
}
void Get_Input()
{
// 1. Ask user for length, validate input.
Scanner input = new Scanner (System.in);
System.out.println("Enter length > 0 ");
int length = input.nextInt();
// 2. Ask user for width, validate input.
System.out.println("Enter width > 0 ");
int width = input.nextInt();
// 3. Ask user for height, validate input.
System.out.println("Enter height > 0 ");
int height = input.nextInt();
}
int Calculate_volume(int length, int width, int height)
{
Scanner input = new Scanner (System.in);
int volume = length * width * height;
return volume = input.nextInt();
}
int Calculate_surfacearea(int length, int width, int height)
{
Scanner input = new Scanner (System.in);
int surfaceArea = (2 * length * height) + (2 * width * length) + (2 * width * height);
return surfaceArea = input.nextInt();
}
void Display(int volume, int surfaceArea, int length, int width, int height, String units)
{