Sagot :

Réponse :

Explications étape par étape

Bonjour

Programme A :

Choisir un nombre : x

Ajouter 5 : x + 5

Prendre le carré : (x + 5)^2

Retrancher 5 : (x + 5)^2 - 5

Programme B :

Choisir un nombre : x

Calculer le carré : x^2

Ajouter 20 : x^2 + 20