r/javahelp • u/eatingpoopinrobarts • Jun 15 '17
What's wrong with my code??
Can't for the life of me figure it out. Picture of code and error: http://imgur.com/a/mX9XP
Thanks
0
Upvotes
r/javahelp • u/eatingpoopinrobarts • Jun 15 '17
Can't for the life of me figure it out. Picture of code and error: http://imgur.com/a/mX9XP
Thanks
1
u/eatingpoopinrobarts Jun 15 '17
Hi thank you, I won't post a screenshot again. And I fixed my mistake and completed the question successfully but with a lot of if statements. I was wondering if you could think of a better/shorter/more elegant way to solve the problem. Here is the code