We all understand division.
In this case, the remainder will be 1.
How do we get the remainder.
To get remainder use %.
In the computer science the "modulo operation" gives us the remainder.
% is used to denote "Modulo operation".
% gives us remainder.
Let's see some more examples.
Is the number even or odd
% can be used to find if a number is even or odd.
If the remainder is 1 then it is an odd number.
If the remainder is 0 then it is an even number.