CSCI 1300
Project: Drawing a Histogram

This is one of several possible projects for CSCI 1300. The following link tells how the projects are used:

What the Program Should Do

Write a program that reads characters from a file and prints a histogram showing the 20 most frequent letters in the input. If there is a tie for the 20-th position, then choose the letter with the lower ascii value to appear in the histogram. If there are fewer than 20 different letters, then the histogram should include all the letters of the input and no others. The histogram is produced using the winbgim library. You should use the bar3d function to draw the bars of the graph. The vertical axis of the histogram should be labeled with integers indicating the value, and the horizontal axis should be labeled with the ascii characters as described in the extra notes on this project at

Estimated Difficulty Level for First Semester Students:

On a scale of 50 (easy) to 500 (hard): 230 points