Bar Plot Create an algorithm that draws an histogram (bar plot) where values are plotted in
proportion to some values (given in an array). Do this
1. Weighted Forgiving Average The Weighted Average computed for Figure 8.16 can be modified to forgive the lowest value. To do that, it is necessary to find the lowest value and its position in the array, and then to subtract this minimum from the sum and to modify the weighting that it applies to all of the other values. For example, if for some student the lowest grade were on the first project (having weight of 0.2), then the remaining projects (having a combined weight of 0.8) would be weighted by the new values 0.375 and 0.625 (computed from 0.3/0.8 and 0.5/0.8). Create the algorithm that will apply this forgiving method when computing a weighted average.