Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# Loops Arrays Strings Main()and command-line arguments Properties Data types I'm in computer science 1, so please don't make an advance code. Your company has

C#
Loops
Arrays
Strings
Main()and command-line arguments
Properties
Data types
I'm in computer science 1, so please don't make an advance code. image text in transcribed
Your company has been hired to develop a new voting system for the upcoming Presidential Elections. Your boss comes to you and ask you to be the head developer to complete this task. He explained the main problems of the current system and at the same time gives you the requirements for the new system which are as follows: System Configuration: I) a. System must be capable to configure which parties are involved in the presidential elections (ex: Democratic, Republican, Independent, etc.) b. System must be capable to configure the president candidate's names (ex: Hillary Clinton, Donald Trump, etc.) c. System must be capable to configure the vice president candidate's names (ex: Bennie Sanders, Ted Cruz, etc.) d. System must be capable to run endlessly unless a sentinel character is entered. 2) System output Display (Each ballot must contain the following information) a. A welcome greeting message must be displayed explaining the voter how to use the new voting system. b, Display candidates and Party information i. Candidate's name and Party (President) ii. Candidate's name and Party rvice President) 3) Voting Begins: a. System must prompt voters to enter voter's name and identification. b. System must be capable to record each vote for president and vice president (NOTE: voters must have the choice to vote for one Party for President and another Party for Vice President. c. After each ballot a message must prompt the voter if vote has been successful or not 4) Results a. Results must be displayed ONLY when the system has been successfully completed, in other words when the sentinel character has been entered. b. output must display the winner President and Vice President with the number of votes that each candidate received. output must also display which candidate was second, third, and so on (president and vice president with total number of votes that each candidate received as well. IMPORTANT: YOU MUST HAVE TWO CLASSES, ONE CLASS FOR IMPLEMENTATION AND ONE FOR TESTING ITS CAPABILITIES

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions