Define closing_djia
, patterned on the mean_djia
function
defined in Segment 352. The closing_djia
function is
to find the closing DowJones Industrial Average for a certain day in an
array named djia
, as described in Segment 282.
Then, write a program to compute the average of the closing DowJones Industrial Averages.