problème boucle for if else priorisation conditions

Version imprimable