how do i create a histogram using a function and parameters. instead of a simple histogram i have to use the asci value table and the one my teacher gave us was.
const char PLOT_MARK = char(178);
and the function we have to use is
// Displays a histogram by using the PLOT_MARK symbol. After barHeight marks
// have been displayed, the actual value of the bar (barHeight) is also output
// as a data label.
void DisplayHistogramBar(const string assessment, const int barHeight);