0

how to take a sentence as input and show a sentence as out put

3rd Jul 2016, 8:05 AM
Rajiv Singh
Rajiv Singh - avatar
2 Réponses
0
string arr; getline(cin, arr); cout << arr;
3rd Jul 2016, 11:39 AM
Garme Kain
Garme Kain - avatar
0
you can use stdio.h header file which gives gets() and puts() function. gets(ar) can take entire sentence with space and puts(ar) prints it with space .
3rd Jul 2016, 3:17 PM
shubham sharma