#include using std::cin; using std::cout; using std::endl; int main() { std::string s; while (cin >> s, s.length() > 5) { cout << s << " is longer than 5\n"; } cout << s << " is too short\n"; for (int i = 0, j = 0; i != 5; ++i, ++j) { cout << i << ", " << j << endl; } }