In an examination, the result of a certain school is as shown in the histogram…