read the characters typed by the user and store these characters in a string. This string is later converted to an integer. If the user attempts to enter non-valid characters (that is, other than the digits 0-9), the program "complaining" and start all over again.