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