If I have 3 variables to scan in and the format goes like this
int char int
or "number word number" separated by 0 or more white space.
PS: The word in the middle must be alphabets
How can I scan them into the respective variables? I've thought of using a for loop to scan each character by character for the word in the middle, but I feel it's so inefficient. Is there a better way to do it?