Which string method can I use to make sure that the phrase ‘invalid response’ only displays if the user has typed something other than ‘yes’ or ‘no’, without paying attention to their capitalization?
Prompts the user for a positive integer input (0< n < 100) and validates it. The function will continue to prompt the user until a valid input is received.