Sorry, I'm pretty new to this whole thing. Could you teach me how to write my code as text here please?
I see.. I had a much simpler solution to the problem that didn't include checking for the boundaries, but I got it wrong, and reading the question again I saw that "All numbers at input are integers of one or two digits", and so I thought that was where I went wrong. Regarding the while loop, as can be seen in the "Example" section of the question, "99" is inputed (after 42) but not printed as output, as my programme would do.
Could you please assist me with seeing the errors in the paragraph above this? Or if you have any time constraints, directly messaging me the solution would help a lot too!