#Exception issue #2
1 messages ยท Page 1 of 1 (latest)
Please post as file upload or wrap with 3 ` marks at the start and end
I uploaded your attachments as Gist.
@strong coyote like this or jsut a whole new post in general?
thats fine
sry im trying to find this usb that i bought a few months ago but i give up
lol no worries im not in a rush
neither am I ๐ its probably still in my car or somethin
anyways you didnt make a method for handling the input validation looping, do you not know about methods yet or?
kind of im know about them I am just horrible at executing them well.
ok well as a reminder i'll give you a starter stub
public static String getValidatedInput(String prompt) {
}```
whatever you want to name it, and then as i hinted at from exception issue #1 have the try/catch and retries encapsulated in it
ok im going to try and give it a shot thank you
actually, since its validation, wouldnt a boolean be better ? that either correct or not