Quotient and reminder | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Quotient and reminder

Which gives reminder.(floor division or modulo operators) Which gives quotient.(floor division or modulo operators)

21st Apr 2020, 3:56 PM
ADHIL - avatar
2 Respuestas
+ 2
Quotient is given by floor division(//) Reminder is given by modulo operator(%)
21st Apr 2020, 4:02 PM
+ 4
I want to share a more general view on this question. A quotient (from Latin: quotiens "how many times", pronounced /ňąkwo ä É…ônt/) is the quantity produced by the division of two numbers. (Wikipedia). So regular division, floor division and ceil division all produce a quotient.
21st Apr 2020, 4:54 PM
Lothar - avatar