Recommend this page to a friend! |
All class groups | > | All authors | > | Classes of Alex Corretge (1) | > | Mission progress status | > | Reputation |
|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
This class can be used to calculate the Hondt law coeficients. It takes the number of available seats and the votes each party got. The class stores the number of seats each party was assigned in an associative array class variable. The code and the comments are in Catalan. |
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |