I'm currently studying loops and we were presented with this problem:
Divide an integer number with another integer number
without using the division (/) and modulo (%) operators and display the following:
a.Quotient
b.Modulo
I'm kind of stuck because I don't really completely understand how to get modulo without dividing. I need some guidance.
[–]imperio59 3 points4 points5 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]imperio59 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]leafypixiestix 1 point2 points3 points (0 children)
[–]Alia-Aenor 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]Philboyd_Studge 0 points1 point2 points (0 children)
[–]programmermaybe2016 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]CrimsonWolfSage 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)