Create a C++ program that simulates Election Process (see Sample Screenshots) CANDIDATES: MENU: REPUBLIC OF THE PHILIPPINES COMMISSION ON ELECTION 2016 PRESIDENTIAL ELECTION A. RODRIGO R. DUTERTE DU30'' B. MAR ROXAS Mr. Palengke'' C. GRACE POE ''Grace''

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

can someone help me?

Create a C++ program that simulates Election Process (see Sample Screenshots)
REPUBLIC OF THE PHILIPPINES
COMMISSION ON ELECTION
2016 PRESIDENTIAL ELECTION
CANDIDATES:
MENU:
V-vote
A. RODRIGO R. DUTERTE''DU30''
B. MAR ROXAS 'Mr. Palengke''
C. GRACE POE ''Grace''
R-result
Enter your choice: v
I vote for: a
CANDIDATES:
MENU:
V-vote
A. Rodrigo Duterte ''DU30''
Q-exit
A. RODRIGO R. DUTERTE'DU30''
B. MAR ROXAS Mr. Palengke''
C. GRACE POE ''Grace
R-result
If R is pressed:
RESULTS OF ELECTION:
Q-exit
a. Rodrigo Duterte ''DU30''
b. Mar Roxas Mr. Palengke''
c. Grace Poe ''Grace'
Total Votes: 2
HOH
1
Transcribed Image Text:Create a C++ program that simulates Election Process (see Sample Screenshots) REPUBLIC OF THE PHILIPPINES COMMISSION ON ELECTION 2016 PRESIDENTIAL ELECTION CANDIDATES: MENU: V-vote A. RODRIGO R. DUTERTE''DU30'' B. MAR ROXAS 'Mr. Palengke'' C. GRACE POE ''Grace'' R-result Enter your choice: v I vote for: a CANDIDATES: MENU: V-vote A. Rodrigo Duterte ''DU30'' Q-exit A. RODRIGO R. DUTERTE'DU30'' B. MAR ROXAS Mr. Palengke'' C. GRACE POE ''Grace R-result If R is pressed: RESULTS OF ELECTION: Q-exit a. Rodrigo Duterte ''DU30'' b. Mar Roxas Mr. Palengke'' c. Grace Poe ''Grace' Total Votes: 2 HOH 1
REPUBLIC OF THE PHILIPPINES
COMMISSION ON ELECTION
2022 PRESIDENTIAL ELECTION
CANDIDATES:
1. FERDINAND 'BONGBONG MARCOS JR.
2. LENI ROBREDO
3.ISKO MORENO
Welcome to online voting system!
Press 1 to vote FERDINAND 'BONGBONG MARCOS JR.
Press 2 to vote LENI ROBREDO.
Press 3 to vote ISKO MORENO.
2
SCREENSHOT
You gave your vote to candidate LENI.
Press R if you want to check the result of the election.
Otherwise, press D if you are done voting.
Press key: r
Number of votes for BBM in this voting system = 0
Number of votes for LENI in this voting system = 1
Number of votes for ISKO in this voting system = 0
LENI is the top ranking in this voting system!
Process returned 0 (0x0) execution time: 23.220 s
Press any key to continue.
REPUBLIC OF THE PHILIPPINES
COMMISSION ON ELECTION
2022 PRESIDENTIAL ELECTION
CANDIDATES:
1. FERDINAND 'BONGBONG MARCOS JR.
2. LENI ROBREDO
3.ISKO MORENO
Welcome to online voting system!
Press 1 to vote FERDINAND 'BONGBONG MARCOS JR.
Press 2 to vote LENI ROBREDO.
Press 3 to vote ISKO MORENO.
2
You gave your vote to candidate LENI.
Press R if you want to check the result of the election.
Otherwise, press D if you are done voting.
Press key: D
Thanks for Voting!
Process returned 0 (0x0) execution time: 5.292 s
Press any key to continue.
Transcribed Image Text:REPUBLIC OF THE PHILIPPINES COMMISSION ON ELECTION 2022 PRESIDENTIAL ELECTION CANDIDATES: 1. FERDINAND 'BONGBONG MARCOS JR. 2. LENI ROBREDO 3.ISKO MORENO Welcome to online voting system! Press 1 to vote FERDINAND 'BONGBONG MARCOS JR. Press 2 to vote LENI ROBREDO. Press 3 to vote ISKO MORENO. 2 SCREENSHOT You gave your vote to candidate LENI. Press R if you want to check the result of the election. Otherwise, press D if you are done voting. Press key: r Number of votes for BBM in this voting system = 0 Number of votes for LENI in this voting system = 1 Number of votes for ISKO in this voting system = 0 LENI is the top ranking in this voting system! Process returned 0 (0x0) execution time: 23.220 s Press any key to continue. REPUBLIC OF THE PHILIPPINES COMMISSION ON ELECTION 2022 PRESIDENTIAL ELECTION CANDIDATES: 1. FERDINAND 'BONGBONG MARCOS JR. 2. LENI ROBREDO 3.ISKO MORENO Welcome to online voting system! Press 1 to vote FERDINAND 'BONGBONG MARCOS JR. Press 2 to vote LENI ROBREDO. Press 3 to vote ISKO MORENO. 2 You gave your vote to candidate LENI. Press R if you want to check the result of the election. Otherwise, press D if you are done voting. Press key: D Thanks for Voting! Process returned 0 (0x0) execution time: 5.292 s Press any key to continue.
Expert Solution
steps

Step by step

Solved in 3 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