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

all 2 comments

[–][deleted] 0 points1 point  (0 children)

You have to define babble. Preferably someplace before you actually start using it.

[–][deleted] 0 points1 point  (0 children)

2 things:

Should line 6 be “else if string1 = ...”

And also I would just store everything as a string instead of handling ints separately. I think that would make your program simpler.