+ 1
How to add space to cin with this code
help guys I want this code to work https://code.sololearn.com/c3N56fj1tsRL/?ref=app
3 Answers
+ 3
Try getline
string a;
getline(cin, a);
if(a=="how are you")
cout<<"good";
+ 3
Ani Jona š thank you so muchšš»
0
std::cout<<" "; or you can use manipulators