+ 1

(x%7)%2. if x=5

plz solution in step by step

6th Jan 2017, 9:11 AM
Jyoti Jyoti
Jyoti Jyoti - avatar
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
6th Jan 2017, 9:14 AM
Filip
Filip - avatar
+ 3
if x=5 x%7=5 5%2=1
6th Jan 2017, 10:27 AM
ă…€ Fetcher ㅀㅀ
ă…€  Fetcher ㅀㅀ - avatar
0
x%7 -> 5%7 = 5 5 % 2 = 1
6th Jan 2017, 9:13 AM
Andreas K
Andreas K - avatar
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!
6th Jan 2017, 10:47 AM
Munindra
Munindra - avatar