Problem Statement: Design a program that will determine the winner in the last presidential election. The number of nominees shall be entered by the election officer. After which, the complete name (first name, middle initial and last name) and total number of votes received per candidate shall be encoded. After which a summary list is shown in the following format: Candidate # Last name, First name M.I. Received Votes - - - - - - - - - - - - After which, display the 1st, 2nd and 3rd winner in the following format: 1st last name votes received 2nd last name votes received 3rd last name votes received Before the program terminates, display your full name, Subject code and Account Number. Requirements: The following programming structures must be evident in your source code. Conditional structure Looping structure Array
Problem Statement:
Design a program that will determine the winner in the last presidential election. The number of nominees shall be entered by the election officer. After which, the complete name (first name, middle initial and last name) and total number of votes received per candidate shall be encoded. After which a summary list is shown in the following format:
Candidate # Last name, First name M.I. Received Votes
- - - -
- - - -
- - - -
- - - -
After which, display the 1st, 2nd and 3rd winner in the following format:
1st last name votes received
2nd last name votes received
3rd last name votes received
Before the program terminates, display your full name, Subject code and Account Number.
Requirements:
The following
- Conditional structure
- Looping structure
- Array

Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images









