Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

cathyangs

  • 4 years ago

Does anyone know TI BASIC programming? I need help fixing in a glitch in this program ClrHome Input"1st Numger", X Input"2nd Number", Y 1->Z While Z=1 abs(x-y)->A If X<Y then A->Y end If y<x then a->x end If x=y then Disp "GCF=",X 2->Z end End Stop

  • This Question is Closed
  1. agdgdgdgwngo
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Which model? Your code: http://ideone.com/jdKbU Your code's syntax is fine, but... Python reproduction: http://ideone.com/ks5Pv The algorithm might be incorrect. Here's euclid's algorithm for the gcf, implemented in the TI-89: http://ideone.com/NmnGD

  2. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy