+ 1
(x%7)%2. if x=5
plz solution in step by step
4 Answers
+ 8
Firstly (5%7)=5 because that's the remainder of division, you understand that? And then simple 5%2=1, because 5/2=2 + 1 that is left to get to 5
+ 3
if x=5
x%7=5
5%2=1
0
x%7 -> 5%7 = 5
5 % 2 = 1
0
Your problem statement is (x%7)%2 if x=5.Now you see (5%7)=5 as in modulo operation i.e.% we write the remainder,which is 5 in this case.Then we proceed to the 2nd part and remember one thing we must first solve the operation inside the parentheses.Now 5%2=1as the same logic of modulo operation applies here.And hence we get the answer as 1.Hope this helps!



