Mathématiques

Question

Devoir d'algorithme j'ai besoins d'aide merci !

Devoir d'algorithme j'ai besoins d'aide merci !

1 Réponse

  • 1.
    a) pour a=2 et b=4
    alors q = 0.5
    pour a=0 et b=3
    alors q = 0
    b) la sortie de cet algorithme est q
    2.
    varriables:
    x, y
    traitement:
    saisir x
    si x # 5 alors y recoit (3*x+2)/(x-5)
    afficher y
    sinon afficher "calcul impossible"
    Finsi