0_0_17547132_25260\Main.java:3: 错误: 需要class, interface或enum
public static void main(String[] args){
^
0_0_17547132_25260\Main.java:6: 错误: 需要class, interface或enum
while(sc.hasNext()){
^
0_0_17547132_25260\Main.java:8: 错误: 需要class, interface或enum
a=sc.nextInt();
^
0_0_17547132_25260\Main.java:9: 错误: 需要class, interface或enum
b=sc.nextInt();
^
0_0_17547132_25260\Main.java:10: 错误: 需要class, interface或enum
int c=0;
^
0_0_17547132_25260\Main.java:11: 错误: 需要class, interface或enum
c=a+b;
^
0_0_17547132_25260\Main.java:12: 错误: 需要class, interface或enum
System.out.format("%d",c);
^
0_0_17547132_25260\Main.java:13: 错误: 需要class, interface或enum
}
^
8 个错误
|