- a
- 12
- a
- d
- d
public class MathDemo {
public static void main(String[] args) {
int m =10;
int n =5;
m +=3;
n +=5;
double p =(m+n)/2;
int q =m*m*n*n;
System.out.println(p);
System.out.println(q);
}
}
public class SuanShuDemo {
public static void main (String[] args) {
int a =4;
int b =15;
int c =20;
int m =(b/a)+c;
int n =(c%b)*a-c;
System.out.println(m);
System.out.println(n);
}
}