Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PROBLEM DEFINITION The student government presidential election of Bluegrass Community and Technical College will be held soon. For reasons related to confidentiality, the chair of
PROBLEM DEFINITION The student government presidential election of Bluegrass Community and Technical College will be held soon. For reasons related to confidentiality, the chair of the election committee wants to computerize the voting. The chair is looking for someone to write a Python program to analyze the data and report the winner. Write a program to help the election committee. PROBLEM DETAILS The college has several departments. For the purpose of the election, each department on each campus manages its own voting process and directly reports the votes received by each candidate to the election committee. Therefore, the same candidate name is received with different number of votes from different departments. Input Keyboard input of candidate-name, department, number-of-votes sets for the candidates. Output Election results in a tabular form and the winner. The election committee wantstheoutput to look as follows (actual names and numbers will depend on the input the data in this table is only an example) Election Results Candidate Name Votes Total Alice in Wonderland 1,065 Balto 272 Donald Duck 51 Minnie Mouse 349 Pluto Tiger 1,242 Winnie the Pooh 548 Winner: votes Received by winner Total votes polled
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started