+ 1

What is the keyword for storing a word ?

Plz provide a example of programme. c++ asks us our name .when we type our name store it .Then it shoud cout: Hello _________(given name)Sir,Nice to meet you ! plz help !!

17th Oct 2017, 3:15 PM
Avon Biobot
1 Answer
+ 13
string name; cout << What is your name; cin >> name; cout << Hello << name << Sir, nice to meet you!
17th Oct 2017, 3:23 PM
Vukan
Vukan - avatar