#How do I correct this code?
1 messages · Page 1 of 1 (latest)
you'll need to break this into two parts, one for the initial prompt where 1 is required, then another where the other options are available
wouldn't you want that inside the block handling the quit option?
that's because you're already stopping because of the loop condition
no point having dead code
doing a switch on the option may be a bit cleaner