/apportionment

Ever wonder how our government apportions the 435 seats in the United States House of Representatives? Well, they use an algorithm called the “huntington-hill method”. I took a good look at the algorithm and made it into a C program:

Primary LanguageC

apportionment

Ever wonder how our government apportions the 435 seats in the United States House of Representatives? Well, they use an algorithm called the “huntington-hill method”. I took a good look at the algorithm and made it into a C program: