Calculate average from histogram

// problem solved
Last edited on
save your scores in the array
sum all of the scores of your array and divided by the total number of them
highest marks and lowest mark could be done by some simple algorithm
like selection sort, but you only need to do one time
you don't need to sort all of the items
Topic archived. No new replies allowed.