An election is coming to your former high school, and the election committee is talking to you about creating a voting mechanism that will determine the overall number of votes for each candidate. Each member of each of the two-party lists will be displayed on the screen. Assume that only a trustworthy official has access to your system; the previous student body president will input the data; the names of the candidates must be displayed on the screen for the official to encode the votes for each candidate; and your program must determine and display the official winners in the school election. Plan the logic by using pseudocode

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter10: Pointers
Section10.1: Addresses And Pointers
Problem 5E
icon
Related questions
Question

An election is coming to your former high school, and the election committee is talking to you about creating a voting mechanism that will determine the overall number of votes for each candidate. Each member of each of the two-party lists will be displayed on the screen. Assume that only a trustworthy official has access to your system; the previous student body president will input the data; the names of the candidates must be displayed on the screen for the official to encode the votes for each candidate; and your program must determine and display the official winners in the school election.

Plan the logic by using pseudocode 

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage