0

Make a program to accept any sentence.

8th Nov 2016, 12:53 PM
rashmi bansal
rashmi bansal - avatar
3 Antworten
0
#include <iostream> #include <string> using namespace std; int main() { string sentence; cin>>sentence; cout<<sentence<<endl; return 0; }
8th Nov 2016, 12:56 PM
மனோஜ்குமார் பழனிச்சாமி
மனோஜ்குமார் பழனிச்சாமி - avatar
0
what is the use of string?
8th Nov 2016, 2:18 PM
rashmi bansal
rashmi bansal - avatar
0
the use of strings is to deal with words, sentences,means more than a letter or character whenever you wanted to use in programming.
9th Nov 2016, 9:49 AM
gobinda debnath
gobinda debnath - avatar