enter whether the person watches the show regularly YN

Enter whether the person watches the show regularly yn

This preview shows page 2 - 4 out of 4 pages.

System.out.println("Please enter whether the person watches the show regularly (Y/N):");watchRegInput = kb.next().charAt(0);watchRegInput = Character.toUpperCase(watchRegInput);while(!checkYesNo(watchRegInput)) //Validates input Yes or No{System.out.println("Invalid input");System.out.println("Please enter whether the person watches the show regularly (Y/N):");watchRegInput = kb.next().charAt(0);
Image of page 2
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 4 pages?

  • One '14
  • Grammatical number, Grammatical conjugation, Enter key, char enterMoreDetails, char genderInput, char watchRegInput

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture