cranklin / apportionment Goto Github PK
View Code? Open in Web Editor NEWEver 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: