cathyangs
  • cathyangs
Does anyone know BASIC programming? can anyone help me!?!
Mathematics
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
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.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
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...
cathyangs
  • cathyangs
ok...do you know BASIC? I have a problem with one of my programs.
anonymous
  • anonymous
try hexadecimal code. Wait, what is specifically wrong with it?

Looking for something else?

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

More answers

cathyangs
  • cathyangs
...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 XY end If yx end If x=y then Disp "GCF=",X 2->Z end End Stop
anonymous
  • anonymous
what are you trying to do?
cathyangs
  • cathyangs
its using Euclid's algorithm to find the GCF of any two integers.
anonymous
  • anonymous
ok, so what is the algorithim? Check your syntax.
anonymous
  • anonymous
http://www.ticalc.org/pub/83plus/basic/math/arithmetic/gcf.8xp
anonymous
  • anonymous
do you want to make your own or...
cathyangs
  • cathyangs
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.
cathyangs
  • cathyangs
I don't have TI connect...or a cable cord.
anonymous
  • anonymous
oh sh*t. maybe you can use something to open it and take the code in there and input it to your calculator
cathyangs
  • cathyangs
... or you could help me debug my program? do you know TI BASIC?
anonymous
  • anonymous
Well i can only promise to try. I have a calculator myself. Let me try to input your code. Hold on.
anonymous
  • anonymous
I just spotted something in your code. It says 1st numger
cathyangs
  • cathyangs
k...well that's my typo, not the problem in the code.
anonymous
  • anonymous
ok hold on
anonymous
  • anonymous
i cant find my equals sign UO.O
cathyangs
  • cathyangs
it's in second math.
anonymous
  • anonymous
thnks
anonymous
  • anonymous
huh. It said syntax error at the ".
cathyangs
  • cathyangs
which one?
anonymous
  • anonymous
the first.
cathyangs
  • cathyangs
huh...? are you typing INPUT or using the program module?
anonymous
  • anonymous
:D...
cathyangs
  • cathyangs
when I run it, it doesn't have a syntax error, but only gives me the GCF with certain numbers.
cathyangs
  • cathyangs
...what's that supposed to mean?
anonymous
  • anonymous
Im going to RE;Code it with the module.
cathyangs
  • cathyangs
... ok.
anonymous
  • anonymous
cant find abs....wait... ive seen it b4.
cathyangs
  • cathyangs
just use the catalogue
anonymous
  • anonymous
o.o i dont have one.
anonymous
  • anonymous
what kind of calc do you have?
cathyangs
  • cathyangs
it's second zero.
cathyangs
  • cathyangs
I have a TI 84 plus
cathyangs
  • cathyangs
its' the smae type of code though
anonymous
  • anonymous
Ok good we hve the same. I found the catalog b4 you answered sorry bout that.
cathyangs
  • cathyangs
ok
anonymous
  • anonymous
I don't see 1st or 2nd number.
cathyangs
  • cathyangs
huh?
cathyangs
  • cathyangs
when you run the program?
anonymous
  • anonymous
Is it something i just type?
cathyangs
  • cathyangs
yes...it's what the input asks for.
anonymous
  • anonymous
So now when i run it it goes to the quote before "1ST NUMBER"
cathyangs
  • cathyangs
...that' really weird. are you using the quote above +?
cathyangs
  • cathyangs
...hello?
cathyangs
  • cathyangs
*sigh*
anonymous
  • anonymous
im still here. What i typed was what do you mean but itsgone...

Looking for something else?

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