In-class 3 Solution

$30.00 $24.00

The Rutgers Student Council (RSC) is conducting a poll of who should be the next apprentice. There are 5 candidates to choose from. The RSC has polled 20 students on campus. You need to write a program that tallies up the number of votes each candidate received and pronounces a winner. Please use arrays to…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Categorys:
Tags:

Description

5/5 – (2 votes)

The Rutgers Student Council (RSC) is conducting a poll of who should be the next apprentice. There are 5 candidates to choose from. The RSC has polled 20 students on campus.

You need to write a program that tallies up the number of votes each candidate received and pronounces a winner.

Please use arrays to implement this assignment.

You are not allowed to use ‘switch’ or ‘if’ statements to count the votes.(except for finding the max) If there are more than 1 people who have the same highest vote counts, print there is no winner

Note: It is better if user could input their vote and vote again if they enter the wrong number

In-class 3 Solution
$30.00 $24.00