Hi, how do I exactly do this?
1) Read an integer from the input. (Reading will automatically stop after the first non-digit character, accounting for possible sign characters.)
2) DO read the next character WHILE the read character is whitespace, then validate it as an operator and store it.
3) WHILE there is any remaining whitespace, read and discard those characters.
4) go to 1.
It's supposed to check lines of input. How would I do the do-while loop here? I don't understand how you use the loop to READ the line of input.