- 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; }

13th Nov 2016, 6:18 PM
Jorge Gaytan
1 Réponse
0
Use string not char!
14th Dec 2016, 10:07 AM
Muhammetnur Amangeldiýew