Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Education » math-teach

Topic: Re: GOTO and INC examples
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Steven

Posts: 4
Registered: 11/3/12
Re: GOTO and INC examples
Posted: Nov 3, 2012 9:24 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Wouldn't the solution be:

WRT B
ADD A
INC D
COM D C
GOTO 7
GOTO 2
STO Z
STP

The only difference involves steps 1 and 2. But since the program is adding A to B, then ADD A should be part of the loop. Right?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.