How are the economies of South Africa and Nigeria different from each other?

South Africa has a more diversified economy than Nigeria, with a larger manufacturing sector and a larger services sector. South Africa also has a more developed financial sector and a more developed infrastructure. Nigeria, on the other hand, has a more oil-dependent economy, with a larger agricultural sector and a smaller services sector. South Africa also has a higher GDP per capita than Nigeria.