- 2
How can this calculation would be equal to 1, print(1%2), Output 1 pls proof.
Help
2 Respostas
+ 8
When u will divide 1 by 2 ,u will get 1 as remainder. So outputs 1.
%=>gives remainder
+ 1
when the right side of % (2) sign is greater than the left side (1) , it will return the right side , so example :
4%5 =4
but 5%4= 1
Hope this help