Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- // считайте три строчки целиком и выведите их в обратном порядке
- string book1, book2, book3;
- getline(cin, book1);
- getline(cin, book2);
- getline(cin, book3);
- cout << book3 << endl << book2 << endl << book1 << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement