The file position is set to the end of the file The file position is set to the beginning of the file ...
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?