Under the Articles of Confederation, how did the national congress work?

AEach state was given a certain number of votes based on its population.
BEach state received one vote.
CEach state received two votes.
DEach state was given a certain number of votes based on its landmass.