怎么算出x=4的?
int m = 5;
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);
int m = 5;
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);
2018-12-22
举报