Answer the question
In order to leave comments, you need to log in
How to create a program to find page and line in a book?
One more condition: the program must be simple and without cycles
Answer the question
In order to leave comments, you need to log in
1 + quotient of dividing n by k is the page number,
the remainder of dividing n by k is the line number on the page (provided that if the remainder is 0, then k is the line number on the page)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question