Done. Thank you very much.
Type: Posts; User: zipstacrack
Done. Thank you very much.
If I was to not include the if statement in the try statement how would I check if the integers were between the lower and upper local variables?
It still requires a return type apparently.
I...
Getting there I think. This is my code now (I'm confused about the "exceptionthatmaybethrown")
private int getChoice ( int lower, int upper ) {
System.out.println (...
Thank you very much for your reply,
I am not familiar with try...catch.
Could you possibly give me a small example of how it would work with this/or something similar to this?
Regards,
Max
Hey,
So this is my code for my getChoice ( ) method.
private int getChoice ( int lower, int upper ) {
System.out.println (...
First off, don't feel bad about it not executing properly, that was the universities fault - a logic error on their part.
The assessment worked wrong like that.
Mr.777 provided what the code...