A
A
Andrey Nill2020-05-22 19:32:49
Python
Andrey Nill, 2020-05-22 19:32:49

How to create a program to find page and line in a book?

5ec7fe549a8eb415583423.png

One more condition: the program must be simple and without cycles

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
scottparker, 2020-05-22
@AndreyNill

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)

A
Arseny, 2020-05-22
Matytsyn @ArsenyMatytsyn

Division by modulus without remainder and remainder zhi. Kindergarten.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question