- 1
Finally worked!!
thank you guys #include <iostream> using namespace std; int main () { char a[10]; char b[10]; cout<<"Whats your name"<<endl; cin>>a; cout<<"Whats your lastname"<<endl; cin>>b; char full[20]; cout<<"Nice to meet you Mr "<<a<<" "<<b<<endl; return 0; }
1 Antwort
0
Use string not char!