Sequence of Evaluation

In general if the problem is well stated then the sequence of steps used to solve the problem should be easy to determine.
Sequence Question
Initialize variables Write an algorithm that
reads in the number of Y-data points
the width of each rectangle (W)
then reads in all the Y-data points
Process Data The algorithm should then iteratively compute the area of each rectangle for each of the Y-data points and accumulate the total.
Print Final Results After all points have been processed the algorithm should print the total area.