0

Discribe this sign % ..!

need help about this sign % 7%3=1 i can understand this, but 3%7=3 i can't understand it at all explane please

6th Mar 2017, 7:32 AM
Mohamed Ali
Mohamed Ali - avatar
2 Respostas
+ 13
% gives the remainder of division in either case. For 7 % 3, 3 goes into 7 twice, with remainder 1. For 3 % 7, 7 goes into 3 zero times, with remainder 3.
6th Mar 2017, 7:41 AM
Tamra
Tamra - avatar
+ 8
7%3 = 1 (% gives the remainder) 3%7 = 3 (as 3 is the remainder)
6th Mar 2017, 7:35 AM
Dev
Dev - avatar