+ 1

Exponential

What does 5%3 means

29th Dec 2024, 12:49 PM
Povo Gods Son
Povo Gods Son - avatar
3 ответов
+ 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(%)
29th Dec 2024, 6:04 PM
Alhaaz
Alhaaz - avatar
+ 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
29th Dec 2024, 1:27 PM
David
David - avatar
+ 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.
29th Dec 2024, 1:25 PM
𝒮𝑜𝒽𝒶𝒾𝒷
𝒮𝑜𝒽𝒶𝒾𝒷 - avatar