Problème ti82

Bonjour,

J'ai un exercice à résoudre et je dois tester un programme avec ma ti82. Le problème est que ma calculatrice me dit qu'il y a une erreur de syntaxe, je ne vois pas ou et je ne peux donc pas résoudre mon programme. Voici ce que j'ai tapé

input x
input y
if x<5*x
then 10*x sto x
else 10*y sto y
end
disp x*y

2 réponses

  1. input x
    input y
    if x<5*x
    then
    10*x sto x
    else
    10*y sto y
    end
    disp x*y
    0
    1. Bonjour

      ou ajouter : après chaque then

      input x
      input y
      if x<5*x
      then:10*x sto x
      else:10*y sto y
      end
      disp x*y

      RQ. es tu sûr de if x<5*x ?

      Bon courage
      0