We did some research into the average cost of fees at some of the top-ranked African universities (based on a 2015 ranking by The African Economist). The figures were just for the tuition fees (excluding registration, residence and other expenses).
From the snapshot below, the cost of education at a top-ranking South African university is the most pricey in the continent. With well-known Makerere University in Uganda being one of the cost-effective.
Have a look at the infographic below: