I am a complete beginner in C++, and am trying to do the following program:
- Read a sentence from the console.
- Break the sentence into words using the space character as a delimiter.
- Iterate over each word, if the word is a numeric value then print its value doubled, otherwise print out the word, with each output on its own line.
I am really lost on how to do this. Especially using the space key as a delimiter.