Ответы на вопрос:
#include <iostream>
#include <string>
#include <windows.h>
using namespace std;
int main() {
setlocale(0, "RU");
SetConsoleOutputCP(1251);
SetConsoleCP(1251);
string *text = new string[3];
getline(cin, text[0]);
getline(cin, text[1]);
getline(cin, text[2]);
system("cls");
cout << text[2] << endl << text[1] << endl << text[0];
return 0;
}
Популярно: Информатика
-
modar5504.07.2021 00:35
-
дншегзпгх18.05.2023 00:05
-
asylkhanova0526.07.2021 11:53
-
zlataaug08.02.2020 02:16
-
настюша29020420.02.2020 16:10
-
liana201512.07.2021 06:58
-
Anastasiya343408.08.2022 10:26
-
tim141532005377409.04.2023 00:41
-
Гауа098718.12.2021 21:26
-
akmal860625.09.2022 15:02