Why did the invention of the cotton gin affect the economies of both the North and the South?

A.The economy of the North depended on the building of railroads, and the economy of the South
depended on industrialization

B.The economy of the North depended on agriculture, and the economy of the South depended on mining.

C.The economy of the North depended on mining, and the economy of the South depended on building
new factories

D.The economy of the North depended on industrialization, and the economy of the South depended on
agriculture