cout << "{" << endl;
cout << "temp_param = temp_param * 3" << endl;
cout << "iskren = iskren + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && ((i == 6) || (i == 12)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 2" << endl;
cout << "iskren = iskren + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && ((i == 18) || (i == 25) || (i == 24)))" << endl;
cout << "{" << endl;
cout << "iskren = iskren + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 0) && (i == 23))" << endl;
cout << "{" << endl;
cout << "iskren = iskren + temp_param" << endl;
cout << "}" << endl;
cout << "}" << endl;
//Проверка на экстраверсию
cout << "function check_extrav(temp_param, i)" << endl;
cout << "{" << endl;
cout << "if((temp_param == 1) && ((i == 1) || (i == 7) || (i == 13) || (i == 19) || (i == 25) || (i == 31) || (i == 37)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 3" << endl;
cout << "extrav = extrav + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && ((i == 4) || (i == 43)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 2" << endl;
cout << "extrav = extrav + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 0) && (i == 2))" << endl;
cout << "{" << endl;
cout << "extrav = extrav + temp_param" << endl;
cout << "}" << endl;
cout << "}" << endl;
//Проверка на ригидность
cout << "function check_rigid(temp_param, i)" << endl;
cout << "{" << endl;
cout << "if((temp_param == 1) && ((i == 8) || (i == 26) || (i == 32)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 3" << endl;
cout << "rigid = rigid + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && ((i == 2) || (i == 14) || (i == 20) || (i == 38) || (i == 44)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 2" << endl;
cout << "rigid = rigid + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 0) && (i == 37))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 2" << endl;
cout << "rigid = rigid + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 0) && ((i == 19) || (i == 46)))" << endl;
cout << "{" << endl;
cout << "rigid = rigid + temp_param" << endl;
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.