+ 3
By operator precedence it should be 22
13 ответов
+ 5
4%7+9*2-1
4+9*2-1
4+18-1
21
+ 3
4 % 7 + 9 * 2 - 1 ( 4 % 7 = 4)
= 4 + 9 * 2 - 1 (9 * 2 = 18)
= 4 + 18 - 1 (4 + 18 = 22)
= 22 - 1
= 21
+ 3
All answers are correct so I will not mark anything..it would be partiality 😅
+ 1
How you got 22?
+ 1
How 4%7=4..it should be 5 right
5+9*2-1
=22
+ 1
Please tell
+ 1
Hari No, 4%7=4, how did you get 5?
+ 1
40/7 remainder..5
+ 1
Hari why should 4 % 7 be 5? Do you know what the modulus operator does? It gives the remainder after dividing the first number by the second number. Here, when 4 is divided by 7, quotient is 0 and remainder is 4, so 4 % 7 is 4
+ 1
Ok yes..XXX you solved my doubt 😄
+ 1
Ok thanks Seb TheS
0
Hari It was 4%7, not 40%7.
0
Aslam Aliquem friends