// hello.cpp Example // Show how to read from the keyboard // and print to the terminal. #include int main() { char name[20]; cout << "Enter your name: "; cin >> name; cout << "Hello, " << name << "." << endl; return(0); } // Output: Enter your name: Terry Hello, Terry.