At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
Programming is basically a bunch of if and then statements and conditions that tell your computer how and when to do something. Thats the kind i have done anyway...
ok...do you know BASIC? I have a problem with one of my programs.
try hexadecimal code. Wait, what is specifically wrong with it?
...huh? my program is in TI BASIC(variation of BASIC) here: :ClrHome Input"1st Numger", X Input"2nd Number", Y 1->Z While Z=1 abs(x-y)->A If X
If y x
2->Z end End Stop
what are you trying to do?
its using Euclid's algorithm to find the GCF of any two integers.
ok, so what is the algorithim? Check your syntax.
do you want to make your own or...
the algorithm is that you take the two numbers, and essential treat them as an ordered pair. You find the positive difference of the pair, and put that as one number in the new pair. the other number in the new pair would be the smaller of the original two.
I don't have TI connect...or a cable cord.
oh sh*t. maybe you can use something to open it and take the code in there and input it to your calculator
... or you could help me debug my program? do you know TI BASIC?
Well i can only promise to try. I have a calculator myself. Let me try to input your code. Hold on.
I just spotted something in your code. It says 1st numger
k...well that's my typo, not the problem in the code.
ok hold on
i cant find my equals sign UO.O
it's in second math.
huh. It said syntax error at the ".
huh...? are you typing INPUT or using the program module?
when I run it, it doesn't have a syntax error, but only gives me the GCF with certain numbers.
...what's that supposed to mean?
Im going to RE;Code it with the module.
cant find abs....wait... ive seen it b4.
just use the catalogue
o.o i dont have one.
what kind of calc do you have?
it's second zero.
I have a TI 84 plus
its' the smae type of code though
Ok good we hve the same. I found the catalog b4 you answered sorry bout that.
I don't see 1st or 2nd number.
when you run the program?
Is it something i just type?
yes...it's what the input asks for.
So now when i run it it goes to the quote before "1ST NUMBER"
...that' really weird. are you using the quote above +?
im still here. What i typed was what do you mean but itsgone...