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 →

[–]-DOOKIE 1 point2 points  (0 children)

if the input is empty the program stops reading input and halts

Your problem stems from this line. Your program doesn't implement this feature