parkBENch didn't ask for the code by the way. I don't know if it's university's task or OP\'s personal. OP asked for the help, we are here to help and also we don't do homework for others.
Type: Posts; User: Mr.777
parkBENch didn't ask for the code by the way. I don't know if it's university's task or OP\'s personal. OP asked for the help, we are here to help and also we don't do homework for others.
So, this function returns an integer. In your above code where you store the returning value?
In your code you are actually doing this;
getUserSelection();
which means you discard the returned...
And where is getUserSelection()?
Where is the main() method?