0

Division and modulus

What is the difference between division and modulus if the division can also give a remainder answer?

9th Jan 2018, 7:58 AM
Aiman Hakimie
Aiman Hakimie - avatar
3 odpowiedzi
+ 3
division gives the greatest integer function of a no, when divided by another no. eg 5/3=1 modulus will give the remainder eg 5%3=2
9th Jan 2018, 8:00 AM
Saurabh Tiwari
Saurabh Tiwari - avatar
+ 3
Division ➗ >>>Quotient Modulus %>>>>Reminder
9th Jan 2018, 8:01 AM
Akshaya
Akshaya  - avatar
+ 2
Thx! @Saurabhtiwari @Akshaya
9th Jan 2018, 8:14 AM
Aiman Hakimie
Aiman Hakimie - avatar