вся информация о автомобильной жизни Сумщины - изменения в ПДД, заправки, СТО, магазины, ДТП, автосалоны, отзывы, мероприятия, общение
NZ писал(а):тест на логику , по-моему очень длинный . Мой результат 25.
alko писал(а):Proof: 1-b, 2-b, 3-c, 4-a, 5-c, 6-a, 7-a, 8-b, 9-c, 10-c, 11-c, 12-a, 13-c, 14-b, 15-b, 16-b, 17-b, 18-c, 19-a, 20-c, 21-a, 22-c, 23-b, 24-c, 25-a, 26-b, 27-a, 28-c, 29-c, 30-a.
function dataBase(tests) {
var counter=0;
if (tests.q1[1].checked) {counter++;}
if (tests.q2[1].checked) {counter++;}
if (tests.q3[2].checked) {counter++;}
if (tests.q4[0].checked) {counter++;}
if (tests.q5[2].checked) {counter++;}
if (tests.q6[0].checked) {counter++;}
if (tests.q7[0].checked) {counter++;}
if (tests.q8[1].checked) {counter++;}
if (tests.q9[2].checked) {counter++;}
if (tests.q10[2].checked) {counter++;}
if (tests.q11[2].checked) {counter++;}
if (tests.q12[0].checked) {counter++;}
if (tests.q13[2].checked) {counter++;}
if (tests.q14[1].checked) {counter++;}
if (tests.q15[1].checked) {counter++;}
if (tests.q16[1].checked) {counter++;}
if (tests.q17[1].checked) {counter++;}
if (tests.q18[2].checked) {counter++;}
if (tests.q19[0].checked) {counter++;}
if (tests.q20[2].checked) {counter++;}
if (tests.q21[0].checked) {counter++;}
if (tests.q22[2].checked) {counter++;}
if (tests.q23[1].checked) {counter++;}
if (tests.q24[2].checked) {counter++;}
if (tests.q25[0].checked) {counter++;}
if (tests.q26[1].checked) {counter++;}
if (tests.q27[0].checked) {counter++;}
if (tests.q28[2].checked) {counter++;}
if (tests.q29[2].checked) {counter++;}
if (tests.q30[0].checked) {counter++;}
document.tests.display.value = counter;
}
// End Hiding Script -->
</script>
dl писал(а):alko писал(а):Proof: 1-b, 2-b, 3-c, 4-a, 5-c, 6-a, 7-a, 8-b, 9-c, 10-c, 11-c, 12-a, 13-c, 14-b, 15-b, 16-b, 17-b, 18-c, 19-a, 20-c, 21-a, 22-c, 23-b, 24-c, 25-a, 26-b, 27-a, 28-c, 29-c, 30-a.
- Код: Выделить всё
function dataBase(tests) {
var counter=0;
if (tests.q1[1].checked) {counter++;}
if (tests.q2[1].checked) {counter++;}
if (tests.q3[2].checked) {counter++;}
if (tests.q4[0].checked) {counter++;}
if (tests.q5[2].checked) {counter++;}
if (tests.q6[0].checked) {counter++;}
if (tests.q7[0].checked) {counter++;}
if (tests.q8[1].checked) {counter++;}
if (tests.q9[2].checked) {counter++;}
if (tests.q10[2].checked) {counter++;}
if (tests.q11[2].checked) {counter++;}
if (tests.q12[0].checked) {counter++;}
if (tests.q13[2].checked) {counter++;}
if (tests.q14[1].checked) {counter++;}
if (tests.q15[1].checked) {counter++;}
if (tests.q16[1].checked) {counter++;}
if (tests.q17[1].checked) {counter++;}
if (tests.q18[2].checked) {counter++;}
if (tests.q19[0].checked) {counter++;}
if (tests.q20[2].checked) {counter++;}
if (tests.q21[0].checked) {counter++;}
if (tests.q22[2].checked) {counter++;}
if (tests.q23[1].checked) {counter++;}
if (tests.q24[2].checked) {counter++;}
if (tests.q25[0].checked) {counter++;}
if (tests.q26[1].checked) {counter++;}
if (tests.q27[0].checked) {counter++;}
if (tests.q28[2].checked) {counter++;}
if (tests.q29[2].checked) {counter++;}
if (tests.q30[0].checked) {counter++;}
document.tests.display.value = counter;
}
// End Hiding Script -->
</script>
SMaAl писал(а):18
но я блондинка - мне простительно
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 9