How do you display char arrays that are two or more words?
For example, I'm making this simple program where I have declared
1 2 3 4 5
char country[50];
cout << "Please enter your country of origin";
cin >> country;
cout << country;
But when I type in, for example, "United States" and store it in the array "country", the computer outputs only "United". Can you guys help me fix this?