How did the great compromise settle the problem of representation in congress?

A and allowed all states to have equal numbers of representatives in Congress
B it made all states pay the same and federal taxes
C it gave each state two senators, and a number of representatives based on population

C it gave each state two senators, and a number of representatives based on population