I have a program due friday and Im totally lost on it. im taking c++ in high school and no the bare minimum about it. anyways my teacher wants us to use text files along w/functions to show on a bar graph the different grades of 3 different classes. like for example the output should look something like this:
5 6 7 8 9 10
|----|----|--|----|-----|
math A: ****
B: *********
C: *******
englishA: ****
B: ****************
you know something similar to that nature. the actual directions on the paper say:
output: print a histograph showing grade distribution in 3 different classes.
syntax: Implementing functions and file streams
assignment: you program should correctly print out a histograph representing grade distribution in 3 different classes. organize your program into blocks, add comments for easy reading.
50% of the grade is if your program complies, uses at least one function, and is well commented.
if you could give me any help i would GREATLY appreciate it!