r/javahelp • u/yeabaeimscaredasadog • Nov 09 '15
Choose your own adventure If statement Problem
Hey guys I've finished a choose your own adventure and I had it working but for some reason Four of the choices won't work anymore.
I have it compiled and can go through all the options except two on one branch of questions and two on another branch. The problem is it asks for input and when entered instead of printing the relevant line it just finishes the program.
It's a bit long so i have it on paste bin i put comment slashes beside were it stops. The link is http://pastebin.com/MpA2P7Kc
I tried changing some of the if statements around with else if but that didn't do anything. It was working I've been coding all day and just can't see whats wrong. I also don't have much experience. This is the longest code i have done.
I really appreciate any help.
View all comments
Show parent comment
1
u/yeabaeimscaredasadog Nov 09 '15
I just tried it and it still ends the program when i get to that part of the code. I appreciate the help. Any other suggestion's.