asked 84.4k views
0 votes
What is the remainder when the positive integer n is divided by the positive integer k, where k > 1 ?

asked
User Jericon
by
7.1k points

1 Answer

3 votes
The remainder is given by the modulo function:
n mod k

It can also be found using the floor function:
n - k×floor(n/k)
answered
User WindowsMaker
by
7.7k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.