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...

Changing the opacity by dragging the Opacity slider is a great option for previewing the image as it would look if cropped, especially if you hide the crop marquee.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A class diagram resembles a horizontal flowchart that shows the actions and events as they occur.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology