a002.
簡易加法
| From: [61.227.19.141] |
發表日期
:
2013-03-10 12:17
import java.util.Scanner;
class test{
public static void main(String args[]){
Scanner Scanner = new Scanner(System.in);
int a,b,c,d,e,f;
a=Scanner.nextInt();
b=Scanner.nextInt();
d=Scanner.nextInt();
e=Scanner.nextInt();
c=a+b;
f=d+e;
System.out.printf("%d",c);
System.out.println("");
System.out.printf("%d",f);
}
}
-------------------------------------
我用命令提示字元或者線上的編譯器都可以正常執行,會和這邊還是出現NA