老师讲解很详细
public class HelloWorld {
public static void main(String[] args) {
int m = 4;
int n = 7;
int x =(m*8/(n+2))%m;
System.out.println("m:" + m);
System.out.println("n:" + n);
System.out.println("x:" + x);
}
}// 40 9 36 4 !!! 32/9 3 27 5 //
//m:4
// n:7
// 为何 x:3 ????
嗯,是的很详细