题解 | #简单运算#
简单运算
https://www.nowcoder.com/practice/6817945637dd4a31811d38313653e967
if else判断语句
int a = in.nextInt();
int b = in.nextInt();
if (a> b){
System.out.println( (a + b) + " " + (a- b)+ " "+(a*b)+" "+(a/b)+" "+(a%b));
}else{
System.out.println((b + a) + " "+(b- a)+" " +(b*a)+" "+(b/a)+" "+(b%a));
}