<!-- Beginvar b=Array();var q=Array();b[1]=2;b[2]=3;b[3]=2;b[4]=1;b[5]=3;b[6]=1;b[7]=2;b[8]=1;b[9]=3;b[10]=2;function reponse(form){for(var i=0;i<form.length;i++){if(form[i].checked){break}}var repondu=""if(i<form.length){repondu=form[i].value}return repondu;}function affiche(form){q[1]=reponse(form.q1);q[2]=reponse(form.q2);q[3]=reponse(form.q3);q[4]=reponse(form.q4);q[5]=reponse(form.q5);q[6]=reponse(form.q6);q[7]=reponse(form.q7);q[8]=reponse(form.q8);q[9]=reponse(form.q9);q[10]=reponse(form.q10);}function resultat(form){var note=0;for(var i=1;i<=10;i++){if(q[i]==b[i]){note++;};};document.formulaire.note.value=note+"/10";}function arrondi(x,choix){var retour=eval(x*choix);var tronc=Math.round(retour);tronc=eval(tronc/choix);return tronc;}
