Compare the GDP of Kenya, Nigeria and South Africa? Suggest two reasons for the differences between the GDP of the countries

Go here:

https://www.cia.gov/library/publications/the-world-factbook/docs/one_page_summaries.html#ln-letters

Click on N and find Nigeria — read lots.
Click on K and find Kenya — read lots.
Then click on S and find South Africa — read more.

If you still need information, go to https://en.wikipedia.org/wiki/Main_Page and look up each country. Read, read, read…