0
how to take a sentence as input and show a sentence as out put
2 Réponses
0
string arr;
getline(cin, arr);
cout << arr;
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 .