| # |
Problem Description |
Flowchart |
RAMM Computer |
RAMM Assembler |
| 1 |
Flowchart a procedure to read a header value n; then to
read and print the following n number of values. |
 |
 |
 |
| 2 |
Flowchart a procedure to read a value num to indicate
the number of employees, then to read in a value h (number of hours worked) and a
value r (hourly rate of pay) for each employee. Compute p (gross pay) and
print hours, rate, and gross pay for each employee. |
 |
 |
 |
| 3 |
Flowchart a procedure to read in a header
value j to indicate how many sets of data will follow. A set of data will consist of
three values -- a, b, and c -- for which you will compute
the expression (a - b) / c. Then print a, b, c, and the value
of the expression. Repeat this for j sets of data and stop. |
 |
 |
 |
| 4 |
Flowchart a procedure to read a value hdr.
Then read the following data values, computing and printing the sum of all of those data
values which are greater than 200. |
 |
 |
 |
| 5 |
Flowchart a procedure to read a header value n to
indicate how many more values will be processed. For each of these values, determine if it
is between 90 and 100, inclusive. Count all the values which fall in that range and print
that count. |
 |
 |
 |
| 6 |
Flowchart a procedure to read a header value k.
Compute and print the sum of the following data values. Then print the average of those
data values. (Remember that the header value itself should not be part of the sum.) |
 |
 |
 |