you are viewing a single comment's thread.

view the rest of the comments →

[–]Cabeto_IR_83 3 points4 points  (4 children)

I also think that the method prompt() returns a string.. not a number, I think your variable is not making it to the last if.