How do you check if the user input is actually a string or an integer?
i looked it up on the internetz and there were a number of different ways, but it doesn't seem to work, i think i need to check if something is actually a number.
Here's the hodgepodge that i put together from what people said, it obviously doesn't work.
> How do you check if the user input is actually a string or an integer?
Any input can be treated as a sequence of characters: a string.
We could read the input as a string and then check if the string has the form of a valid integer to some base.