Gives error message if user inputs none numeric characters