#include #include #include #include #include using namespace std; int main() { setlocale(LC_ALL, "Lithuanian"); //int a, b, c; string tekstas1, tekstas2, tekstas3, tekstas4; char ats; ifstream in("duomenys.txt"); getline(in, tekstas1); getline(in, tekstas2); getline(in, tekstas3); getline(in, tekstas4); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 46); system("CLS"); cout << tekstas1 << "\n" << tekstas2 << "\n" << tekstas3 << "\n"<< tekstas4 << endl; cin >> ats; if(ats == 'b') cout <<"Atsakymas yra teisingas!"<> ats; if(ats == 'c') cout <<"Atsakymas yra teisingas!"<