问答详情
源自:3-8 Java中运算符的优先级

计算的过程

int m = 5;

int n = 7;

int x = (m*8/(n+2))%m;


提问者:慕粉0738495812 2016-10-22 20:00

个回答

  • 魏plus
    2016-11-17 17:39:03

    n+2 = 9

    m*8 = 40

    40/9 = 4

    4%5 =4

  • 懒人第二只
    2016-10-22 20:04:42

    m*8=40

    n+2=9

    40/9=4

    4%5=4