Showing
1 changed file
with
17 additions
and
0 deletions
A/echo.cpp
0 → 100644
1 | +#include<iostream> | ||
2 | +#include<string> | ||
3 | +using namespace std; | ||
4 | + | ||
5 | +int main() { | ||
6 | + string text; | ||
7 | + | ||
8 | + cout << "Please enter the sentence..." << endl << endl; | ||
9 | + | ||
10 | + cout << ": "; | ||
11 | + | ||
12 | + cin >> text; | ||
13 | + | ||
14 | + cout << endl << text << endl; | ||
15 | + | ||
16 | + return 0; | ||
17 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment