Can anyone explain to me how to solve a problem if it has %? Please explain it like you would to a 5 year old lol.. because I'm | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Can anyone explain to me how to solve a problem if it has %? Please explain it like you would to a 5 year old lol.. because I'm

Trying to understand how to solve a problem with % in it

13th Mar 2021, 6:47 AM
Terri T.
2 Réponses
+ 3
28 % 5 = 3 Because 28 have only 5 numbers of the number 5 and the rest is 3 https://www.w3schools.com/js/tryit.asp?filename=tryjs_oper_mod
13th Mar 2021, 6:57 AM
Jamal Saied
Jamal Saied - avatar
+ 1
Hi! The operator of the remainder of the number % (for example: 17 % 3 = 2) 1. Take the nearest number when divided by 3 would be zero. That's apparently 15 2. Subtract 15 from 17 and the result is your answer.
13th Mar 2021, 8:09 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar