package methods;
import java.util.Scanner;
public class DisplayBox {
public static double FindDimensions (int length, int width) {
Scanner scanner = new Scanner (System.in);
int box ;
System.out.println ("Please enter the length of the box");
length = input.nextInt();//input cannot be resolved
System.out.println (" Please enter the width of the box");
width = input.nextInt(); //input cannot be resolved
return box ;
}
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
我不明白为什么它一直说输入无法解决。我知道这是一个非常基本的问题,但我需要你的帮助。