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. Then a summary list is shown in the following format: Candidate # Last name, First name M.I. Received Votes Afterwards, sort the nominees based on their votes received, highest to lowest. Using the format below: Rank First name M.I. Last name Received Votes 1. 2 3 Display the winner of the election with its corresponding votes received. (last name received votes) Also, display the summation of total votes received by all candidates. Before the program terminates, display your full name, source code and Account Number. Requirements: The following programming structures must be evident in your source code. • Conditional structure Looping structure Array Programmer-Defined Function (do not create a header file) Upload lastname_finalpractical.cpp

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

Help me with my C++ subject pls

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. Then a summary list is shown in the following
format:
Candidate #
Last name, First name M.I.
Received Votes
Afterwards, sort the nominees based on their votes received, highest to lowest.
Using the format below:
Rank
First name M.I. Last name
Received Votes
1.
2
3
Display the winner of the election with its corresponding votes received. (last name received votes)
Also, display the summation of total votes received by all candidates.
Before the program terminates, display your full name, source code and Account Number.
Requirements:
The following programming structures must be evident in your source code.
• Conditional structure
Looping structure
Array
Programmer-Defined Function (do not create a header file)
Upload lastname_finalpractical.cpp
Transcribed Image Text: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. Then a summary list is shown in the following format: Candidate # Last name, First name M.I. Received Votes Afterwards, sort the nominees based on their votes received, highest to lowest. Using the format below: Rank First name M.I. Last name Received Votes 1. 2 3 Display the winner of the election with its corresponding votes received. (last name received votes) Also, display the summation of total votes received by all candidates. Before the program terminates, display your full name, source code and Account Number. Requirements: The following programming structures must be evident in your source code. • Conditional structure Looping structure Array Programmer-Defined Function (do not create a header file) Upload lastname_finalpractical.cpp
Candidate #
Last name, First name M.I.
Received Votes
1
Binay, Jejomar
C.
5,416,140
2
Duterte, Rodrigo
R.
16,601,997
3
Roxas, Mar
А.
9,978,175
4
Satiago, Mariam
P.
1,455,532|
Poe,
Grace
S.
9,100,991
Rank
First name M.I. Last name
Received Votes
1
Duterte, Rodrigo
R.
16,601,997
2
Roxas, Mar
А.
9,978,175
Рое,
Grace
S.
9,100,991
N 3
Transcribed Image Text:Candidate # Last name, First name M.I. Received Votes 1 Binay, Jejomar C. 5,416,140 2 Duterte, Rodrigo R. 16,601,997 3 Roxas, Mar А. 9,978,175 4 Satiago, Mariam P. 1,455,532| Poe, Grace S. 9,100,991 Rank First name M.I. Last name Received Votes 1 Duterte, Rodrigo R. 16,601,997 2 Roxas, Mar А. 9,978,175 Рое, Grace S. 9,100,991 N 3
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY