Answer:

The blanks are filled below.

More Work on the Program

Here is more of the program:

DIM RAIN(1 TO 3)                '  The array will store the rainfall
                                '
LET RAIN(1) = 3.54              '  Rainfall for day 1 
LET RAIN(2) = 0.0               '  Rainfall for day 2
LET RAIN(3) = 1.79              '  Rainfall for day 3

LET SUM = _______ + _______ + _______      '  Add up the rainfall for all three days

LET AVG = _______ / 3

PRINT "The average rainfall was:", AVG, " inches"
END

Now you need to compute an average of the three values. To compute the average:

  1. Add up all 3 values.
  2. Divide the sum by 3.

The two statements that do that have been added to the program.

QUESTION 12:

Fill in the blanks to complete the program.