Operator % what is it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Operator % what is it

How is this 4. What does % this mean in basic english or dutch because im not seeing it https://code.sololearn.com/c1T6RjtpEIGP/?ref=app

8th Oct 2019, 9:32 PM
Gert Jan Broekhuizen
Gert Jan Broekhuizen - avatar
4 Answers
0
well i found out. what i where looking for was this. its as we call it rest its like 32/30 then % will be 2. because its whats left
8th Oct 2019, 9:48 PM
Gert Jan Broekhuizen
Gert Jan Broekhuizen - avatar
+ 4
% is the modulo operator, its the remainder of a division
8th Oct 2019, 10:02 PM
Minerals2016
Minerals2016 - avatar
0
using you code as reference: how may time does 7 go into 25? Answer = 3. what's the remainder? Answer = 4. <= this is your output.
8th Oct 2019, 9:51 PM
rodwynnejones
rodwynnejones - avatar
0
yes indeed
8th Oct 2019, 9:51 PM
Gert Jan Broekhuizen
Gert Jan Broekhuizen - avatar