求帮助 谢谢
public class HelloWorld {
public static void main(String[] args) {
double m = 5;
double n = 7;
double x= (m*8/(n+2))%m;
System.out.println("m:" + m);
System.out.println("n:" + n);
System.out.println("x:" + x);
}
}
m:5.0
n:7.0
x:4.444444444444445