解题思路:
注意事项:
参考代码:
import java.util.Scanner;
public class C1000 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = a + b;
System.out.println(c);
}
scanner.close();
}
}
0.0分
0 人评分