A program showing a few examples of results with the remainder (modulus) operator.
|
10 % 3 is 1 -10 % 3 is -1 10 % -3 is 1 -10 % -3 is -1 |
No comments:
Post a Comment