#include <iostream>
int main ()
{
char x;
cout << "Hi, whats your name?";
cin >> x;
cout << "Your name is " << x ;
return 0;
}
when i use this program this is what it will look like for example
computer - Hi, whats your name?
me - Brett
Computer - Your name isbPress any key to continue