1234567891011
#include <iostream> #include <string> int main() { std::string word ; std::cout << "enter a word: " ; std::cin >> word ; std::cout << "the word you entered is '" << word << "'\n" ; }