1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| if (correctAnswer < 10) {
tot = _global.quiz_completion_message+"\n";
tot+= "You have scored " + correctAnswer + " out of "+ totalAnswer +"\n";
tot+= "Prévoyez un formation !";
} else if ( correctAnswer < 16) {
tot = _global.quiz_completion_message+"\n";
tot+= "You have scored " + correctAnswer + " out of "+ totalAnswer +"\n";
tot+= "Une mise a jour des connaissances nécessaire !";
} else if ( correctAnswer < 19) {
tot = _global.quiz_completion_message+"\n";
tot+= "You have scored " + correctAnswer + " out of "+ totalAnswer +"\n";
tot+= "Bravo !";
} else if ( correctAnswer == 19) {
tot = _global.quiz_completion_message+"\n";
tot+= "You have scored " + correctAnswer + " out of "+ totalAnswer +"\n";
tot+= "Super !";
} else if ( correctAnswer == 20) {
tot = _global.quiz_completion_message+"\n";
tot+= "You have scored " + correctAnswer + " out of "+ totalAnswer +"\n";
tot+= "Vous êtes bon !";
} |