How would I check if an input is valid when giving a string of valid integers and operators e.g String s = "0123+-"
I've looked everywhere and tried writing my own methods but cannot figure it out!
Printable View
How would I check if an input is valid when giving a string of valid integers and operators e.g String s = "0123+-"
I've looked everywhere and tried writing my own methods but cannot figure it out!
What are the rules for determining if an input String is valid or not?Quote:
How would I check if an input is valid
You will need those before you can write any code.