cout << "}" << endl;
cout << "}" << endl;
//Проверка на эмоциональную возбудимость
cout << "function check_emo_vozb(temp_param, i)" << endl;
cout << "{" << endl;
cout << "if((temp_param == 1) && ((i == 15) || (i == 21) || (i == 33) || (i == 39) || (i == 45)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 3" << endl;
cout << "emo_vozb = emo_vozb + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && ((i == 3) || (i == 9)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 2" << endl;
cout << "emo_vozb = emo_vozb + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && (i == 27))" << endl;
cout << "{" << endl;
cout << "emo_vozb = emo_vozb + temp_param" << endl;
cout << "}" << endl;
cout << "}" << endl;
//Проверка на темп реакций
cout << "function check_temp_reak(temp_param, i)" << endl;
cout << "{" << endl;
cout << "if((temp_param == 1) && ((i == 4) || (i == 16) || (i == 28)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 3" << endl;
cout << "temp_reak = temp_reak + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && ((i == 10) || (i == 22) || (i == 34) || (i == 40) || (i == 46)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 2" << endl;
cout << "temp_reak = temp_reak + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && ((i == 17) || (i == 29) || (i == 37)))" << endl;
cout << "{" << endl;
cout << "temp_reak = temp_reak + temp_param" << endl;
cout << "}" << endl;
cout << "}" << endl;
//Проверка на активность
cout << "function check_activ(temp_param, i)" << endl;
cout << "{" << endl;
cout << "if((temp_param == 1) && ((i == 5) || (i == 11) || (i == 17) || (i == 23) || (i == 29) || (i == 35) || (i == 41) || (i == 47)))" << endl;
cout << "{" << endl;
cout << "temp_param = temp_param * 3" << endl;
cout << "activ = activ + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 1) && (i == 10))" << endl;
cout << "{" << endl;
cout << "activ = activ + temp_param" << endl;
cout << "}" << endl;
cout << "if((temp_param == 0) && (i == 23))" << endl;
cout << "{" << endl;
cout << "activ = activ + temp_param" << endl;
cout << "}" << endl;
cout << "}" << endl;
cout << "function update_submit_form()" << endl;
cout << "{" << endl;
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.