Advertisement
Guest User

Untitled

a guest
Jul 12th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. do {
  2. response = console.readLine("Do you understand do while loops? ");
  3. isInvalidWord = (response.equalsIgnoreCase("No"));
  4. if (isInvalidWord) {
  5. console.printf("Try again \n\n");
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement