Question: If value is not the data type integer, print invalid entry I mean if user enters a symbol or a letter or anything else, currently
If value is not the data type integer, print "invalid entry"
I mean if user enters a symbol or a letter or anything else, currently my program stops if it happens.
How do I code this in Java?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
