#include #include using namespace std; int main() { while (true) { string s; cout << "Enter a line of text: "; cin >> s; const int len = s.length(); for (int i = 0; i < len; i += 1) cout << "character " << i << " is '" << s[i] << "'\n"; cout << "\n"; } } /* Give it a few lines of input, each with a few words on it. You'll see clearly that we are told nothing about spaces or line breaks. */