./Main.java:1: error: class, interface, enum, or record expected
public static void multiple() {
^
./Main.java:3: error: class, interface, enum, or record expected
System.out.print("?????????");
^
./Main.java:4: error: class, interface, enum, or record expected
int x1 = sc.nextInt();
^
./Main.java:5: error: class, interface, enum, or record expected
int x2 = sc.nextInt();
^
./Main.java:6: error: class, interface, enum, or record expected
while(x1<=0||x2<=0){
^
./Main.java:8: error: class, interface, enum, or record expected
x1=sc.nextInt();
^
./Main.java:9: error: class, interface, enum, or record expected
x2=sc.nextInt();
^
./Main.java:10: error: class, interface, enum, or record expected
}
^
./Main.java:12: error: class, interface, enum, or record expected
if (x1 > x2) {
^
./Main.java:13: error: class, interface, enum, or record expected
for (int i = 1; i <= x2; i++) {
^
./Main.java:13: error: class, interface, enum, or record expected
for (int i = 1; i <= x2; i++) {
^
11 errors
[Hydro](https://hydro.ac)提供评测服务