Here's the question you clicked on:
cathyangs
Does anyone know TI BASIC programming? I would really appreciate some help fixing a problem.
I've written a program that uses Euclid's Algorithm to find the GCF of two integers...but it's not working perfectly. I'll type it up
: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
I cant understand this, sorry :(