👤

J'ai un dm de maths à rendre demain svp j'ai besoin d'aide merci d'avance

Jai Un Dm De Maths À Rendre Demain Svp Jai Besoin Daide Merci Davance class=

Répondre :

bonsoir

algorithme écrit pour texas

PROMPT X
1 -X -> A
1 -X -> X
X +A -> A
A +X -> A
END
DISP A

POUR X= 3
l'algorithme affiche:   4

POUR X= -1
l'algorithme affiche :   0


POUR X= K
l'algorithme affiche :   K+1