Use a sentinel-controlled loop to read 10 positive numbers. Compute and display their sum.

Note: This program terminates when a negative number is input. The problem state- ment should state that only positive numbers should be input.


```
00 +1009 (Read Value)
01 +2009 (Load Value)
02 +4106 (Branch negative to 06)
03 +3008 (Add Sum)
04 +2108 (Store Sum)
05 +4000 (Branch 00)
06 +1108 (Write Sum)
07 +4300 (Halt)
08 +0000 (Storage for Sum)
09 +0000 (Storage for Value)
```

Computer Science & Information Technology

You might also like to view...

A proposal should begin with the ____________________, a prelude containing no more than a few paragraphs of pithy description and budget totals.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is a new work based on an original work known as? ____

A. Public domain work B. Derivative work C. Fair use work D. Right of publicity work

Computer Science & Information Technology

Function names should be as short as possible.

a. true b. false

Computer Science & Information Technology

A(n) ____________________ computer is a small, lightweight personal computer designed like a clamshell with a keyboard as the base and a screen on the hinged cover.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology