+ 1
Exponential
What does 5%3 means
3 Answers
+ 3
% ā Known as modulus operator
it use to find the reminder.
like for eg.
10/5=2
10%5=0
here it quotient is 2 and reminder is 0, so if you want to output or find reminder so you can use module
us operator(%)
+ 2
You try figure out what the remainder of that division is.
So you try to fit 3 as often as possible into the 5 and then you find out what you still need until 5.
So 5 %3 =2
+ 1
It means when we divide 5 by 3 then what's remainder.
It gives remainder, when "%" is used between two operands(numbers) then we get remainder.
Remember "/" is for division.