Probleme de programmation
Bonjour,
j'ai commencer a utiliser algobox depuis peu et j'ai un devoir a faire pour la rentrée
pouvez vous me dire ou ca bloque c'est un algorithme pour savoir si on a la moyenne dans deux matières différents en math (coef 3) et en anglais (coef 2)
merci d'avance pour votre aide
VARIABLES
2 n EST_DU_TYPE NOMBRE
3 notemath EST_DU_TYPE LISTE
4 noteanglais EST_DU_TYPE LISTE
5 moyenne EST_DU_TYPE CHAINE
6 DEBUT_ALGORITHME
7 AFFICHER "donner notemath[0]"
8 AFFICHER "donner noteanglais[0]"
9 AFFICHER "donner notemath[1]"
10 AFFICHER "donner noteanglais[1]"
11 PAUSE
12 notemath[0] PREND_LA_VALEUR 18
13
14 AFFICHERCALCUL notemath[0]/n
15 AFFICHERCALCUL noteanglais[]/n
16 LIRE moyenne
17 FIN_ALGORITHME
j'ai commencer a utiliser algobox depuis peu et j'ai un devoir a faire pour la rentrée
pouvez vous me dire ou ca bloque c'est un algorithme pour savoir si on a la moyenne dans deux matières différents en math (coef 3) et en anglais (coef 2)
merci d'avance pour votre aide
VARIABLES
2 n EST_DU_TYPE NOMBRE
3 notemath EST_DU_TYPE LISTE
4 noteanglais EST_DU_TYPE LISTE
5 moyenne EST_DU_TYPE CHAINE
6 DEBUT_ALGORITHME
7 AFFICHER "donner notemath[0]"
8 AFFICHER "donner noteanglais[0]"
9 AFFICHER "donner notemath[1]"
10 AFFICHER "donner noteanglais[1]"
11 PAUSE
12 notemath[0] PREND_LA_VALEUR 18
13
14 AFFICHERCALCUL notemath[0]/n
15 AFFICHERCALCUL noteanglais[]/n
16 LIRE moyenne
17 FIN_ALGORITHME