Remainder? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Remainder?

I don't understand remainder means can some one explain with example?

17th Nov 2021, 4:52 PM
Mahmoud Mgh
Mahmoud Mgh - avatar
2 Answers
+ 3
This is from an article I found from the internet, "An amount left over after division (happens when the first number does not divide exactly by the other). Example: 19 cannot be divided exactly by 5. The closest you can get without going over is 3 x 5 = 15, which is 4 less than 19. So 4 is the remainder" Hope you get something out of it.
17th Nov 2021, 5:08 PM
Kalana Ekanayake
Kalana Ekanayake - avatar
+ 3
Remainder is simple math. When you divide any integer like, if you do 12/4... the answer you will get is your remainder (which is 0). You multiply 4×3 (to get 12). Hope this helps you.
17th Nov 2021, 4:56 PM
Shivani 📚✍
Shivani 📚✍ - avatar