+ 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
ADHIL - avatar
2 ответов
+ 2
Quotient is given by floor division(//) Reminder is given by modulo operator(%)
21st Apr 2020, 4:02 PM
ANJALI SAHU
+ 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
Lothar - avatar