A voir également:
- Algorithme
- Logiciel algorithme euromillion - Télécharger - Loisirs créatifs
- Logiciel algorithme gratuit - Télécharger - Édition & Programmation
- Algorithme euromillion excel gratuit - Forum Algorithmes / Méthodes
- Algorithme ajout rapide snapchat - Forum Snapchat
- Ajout rapide snap - Forum Snapchat
1 réponse
var :
plus_grand,a,b,c :entier // ou reel si tu veux des nombres a virgule
DEBUT
afficher ("Quels sont vos trois nombres")
saisir(a,b,c)
Si a >b alors
plus_grand<--a // <-- = reçoit fleche vers gauche
si a<c alors
plus_grand<--c
fin si
sinon
plus_grand<--b
si b<c alors
plus_grand<--c
fin si
fin si
AFFICHER("Le plus grand nombre est : ",plus_grand)
FIN
pourquoi faire simple quand on peut faire compliquer
plus_grand,a,b,c :entier // ou reel si tu veux des nombres a virgule
DEBUT
afficher ("Quels sont vos trois nombres")
saisir(a,b,c)
Si a >b alors
plus_grand<--a // <-- = reçoit fleche vers gauche
si a<c alors
plus_grand<--c
fin si
sinon
plus_grand<--b
si b<c alors
plus_grand<--c
fin si
fin si
AFFICHER("Le plus grand nombre est : ",plus_grand)
FIN
pourquoi faire simple quand on peut faire compliquer