#include #include using namespace std; int main() { char str[80]; cout << "Enter your name: "; cin.get(str, 79); cout << str << '\n'; return 0; } Enter your name: JoeJoe