Example: air traffic controller
EloquentJavaScript

EloquentJavaScript

Back to document page

Using names instead of numbers for the instructions and memory locationshelps. Set “total” to 0. Set “count” to 1. [loop] Set “compare” to “count”. Subtract 11 from “compare”. If “compare” is zero, continue at [end]. Add “count” to “total”. Add 1 to “count”. Continue at [loop].

  Instructions

Download EloquentJavaScript


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries