I am trying to understand the output of this program. If I try to "translate" the code, I believe it should go like this:
-while "j" is smaller th