I'm trying to create a loop that only loops parts of the code but I cannot figure out the right coding. When choice is "y", the application runs from the beginning. When choice is "n", display "Bye - Come back soon!" and ends the application. When there is no entry, display "Error! This entry is required. Try again." and loop back to [System.out.print("Try again? (y/n)");]. When choice is other than y and n, display "Error! Entry must be 'y' or 'n'. Try again." and loop back to [System.out.print("Try again? (y/n)");].
Y and N choice works the way I intented to but I cannot make no entry and other entry to loop back to try again quesiton line. Please help
Following is what I have currently