// Example program
#include <iostream>
#include <string>
using namespace std;
const int questionsCount = 2;
const int questionSize = 4;
int main()
{
int answerNum;
int correctAnswers [questionsCount] = {1,1}; //номера правильніх ответов на вопрос.
string questions [questionsCount * questionSize] = {"Девственник?", "Да", "Нет", "Не знаю", "Хуи сосал?", "Да", "Нет", "Не знаю"};
for (int i = 0; i < questionsCount; i++)
{
cout << questions [i * questionSize] << endl << questions [i * questionSize + 1] << endl << questions [i * questionSize + 2] << endl << questions [i * questionSize + 3] << endl;
cin >> answerNum;
if (correctAnswers [i] == answerNum)
cout << "Correct" << endl;
else
cout << "Incorrect" << endl;
}
return 0;
}
Ly8gRXhhbXBsZSBwcm9ncmFtCiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHN0cmluZz4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgpjb25zdCBpbnQgcXVlc3Rpb25zQ291bnQgPSAyOwpjb25zdCBpbnQgcXVlc3Rpb25TaXplID0gNDsKCmludCBtYWluKCkKewoJaW50IGFuc3dlck51bTsKICAgIGludCBjb3JyZWN0QW5zd2VycyBbcXVlc3Rpb25zQ291bnRdID0gezEsMX07IC8v0L3QvtC80LXRgNCwINC/0YDQsNCy0LjQu9GM0L3RltGFINC+0YLQstC10YLQvtCyINC90LAg0LLQvtC/0YDQvtGBLgogICAgc3RyaW5nIHF1ZXN0aW9ucyBbcXVlc3Rpb25zQ291bnQgKiBxdWVzdGlvblNpemVdID0geyLQlNC10LLRgdGC0LLQtdC90L3QuNC6PyIsICLQlNCwIiwgItCd0LXRgiIsICLQndC1INC30L3QsNGOIiwgItCl0YPQuCDRgdC+0YHQsNC7PyIsICLQlNCwIiwgItCd0LXRgiIsICLQndC1INC30L3QsNGOIn07CiAgICAKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgcXVlc3Rpb25zQ291bnQ7IGkrKykKICAgIHsKICAgICAgICBjb3V0IDw8IHF1ZXN0aW9ucyBbaSAqIHF1ZXN0aW9uU2l6ZV0g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