Some questions on multi-dimensional arrays

This is the second programming milestone

Refer back to the example which counted frequencies of numbers in ranges.

  1. Modify the programme to hold the frequency count in an array.

  2. In the first programming milestone you added the capability of printing out a horizontal bar chart of frequencies. Now you are asked to modify this further to print out a normal vertical histogram, in a format similar to the following example.
       **
    ** **
    ** **
    ** ** **
    ** ** ** **
    
Some hints and suggestions if you cannot get started.
Back to the notes on multi-dimensional arrays.