Quotient and reminder | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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