Average a simple but important tool for decision making which is used by almost every individual, businessman, and even institutions…