Showing
1 changed file
with
21 additions
and
0 deletions
same_print.cpp
0 → 100644
| 1 | +#include <iostream> | ||
| 2 | +#include <vector> | ||
| 3 | +#include <string> | ||
| 4 | +#include <iomanip> | ||
| 5 | +#include <cmath> | ||
| 6 | +#include <stdio.h> | ||
| 7 | +#include <ctime> | ||
| 8 | +#include <algorithm> | ||
| 9 | + | ||
| 10 | + | ||
| 11 | +using namespace std; | ||
| 12 | +//print anything you type ten times | ||
| 13 | + | ||
| 14 | +int main() { | ||
| 15 | + string sentence; | ||
| 16 | + for (int i = 0; i < 10; i++) { | ||
| 17 | + cin >> sentence; | ||
| 18 | + cout << sentence << '\n'; | ||
| 19 | + } | ||
| 20 | +} | ||
| 21 | + |
-
Please register or login to post a comment