/plurality

A command-line program that simulates an election using the "plurality" voting system (also known as "first-past-the-post").

Primary LanguageCMIT LicenseMIT

plurality

A command-line program that simulates an election using the "plurality" voting system (also known as "first-past-the-post").

Example usage:

$ ./plurality Alice Bob Charlie
Number of voters: 4
Vote: Alice
Vote: Bob
Vote: Charlie
Vote: Alice
Alice