how to take full sentence in c++ code example
Example: how to take full sentence in c++
#include<bits/stdc++.h>
using namespace std;
int main(){
string input;
getline(cin,input);
cout<<input<<endl;
}
#include<bits/stdc++.h>
using namespace std;
int main(){
string input;
getline(cin,input);
cout<<input<<endl;
}