New course! Every coder should learn Generative AI!
Try a free lesson+ 2
What does this operation(% ) do ?? give out a small example !
2 Answers
+ 4
% finds the remainder
20 % 6 = 2. 6 fits 3 times in 20 (18) and there is 2 left, THE REMAINDER
+ 1
how do you do it with float?