In my if
statement I would like to somehow check if the user's input contains letters. If it contains letters then I would like to run a method that tells them their input is incorrect.
Right now to do this I am having to write all the possibilities out e.g. if input.contains a || input.contains b , etc. and I can't write out every possibility and combination or use of the english alphabet. I just want to warn the user if they write letters because my program is a calculator.