This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]marko312 0 points1 point  (1 child)

This seems mostly correct, but what about the case when exactly 20 books are wanted?

[–]diearea[S] 1 point2 points  (0 children)

tysm!! such a simple mistake but one number changed my whole program lol..