int a,b,sum,minis,mult,divide;
a=10,b=5;
sum=a+b;
minis=a-b;
mult=a*b;
divide=a/b;
System.out.println("两数相加的结果为:"+sum);
System.out.println("两数相减的结果为:"+minis);
System.out.println("两数相乘的结果为:"+mult);
System.out.println("两数相除的结果为:"+divide);
int a,b,sum,minis,mult,divide;
a=10,b=5;
sum=a+b;
minis=a-b;
mult=a*b;
divide=a/b;
System.out.println("两数相加的结果为:"+sum);
System.out.println("两数相减的结果为:"+minis);
System.out.println("两数相乘的结果为:"+mult);
System.out.println("两数相除的结果为:"+divide);