WHAT'S NEW?
Loading...

SMP S4 : ( Algorithme ) Corrigé de l'exercice 8 Serie1




Pour savoir comment travailler avec cet algorithme Click ici AlgoBox
AlgoBox : sanstitre
FSSM
SMP S4
TP programmation
Serie 1
Exercice 8
Tester l'algorithme
Cliquer sur ce bouton pour exécuter l'algorithme : 
Résultats
Code de l'algorithme
1   VARIABLES
2     X EST_DU_TYPE NOMBRE
3   DEBUT_ALGORITHME
4     LIRE X
5     SI (X>0) ALORS
6       DEBUT_SI
7       AFFICHER "Le nombre est positif"
8       FIN_SI
9       SINON
10        DEBUT_SINON
11        SI (X<0) ALORS
12          DEBUT_SI
13          AFFICHER "Le nombre est négatif"
14          FIN_SI
15          SINON
16            DEBUT_SINON
17            AFFICHER "Le nombre est nul"
18            FIN_SINON
19        FIN_SINON
20    
21  FIN_ALGORITHME

0 comments:

Post a Comment