Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do {
- response = console.readLine("Do you understand do while loops? ");
- isInvalidWord = (response.equalsIgnoreCase("No"));
- if (isInvalidWord) {
- console.printf("Try again \n\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement