Question: Write a complete program that allows the user to enter the last names of 5 candidates in Boston university student government election and the votes

Write a complete program that allows the user to enter the last names of 5 candidates in Boston university student government election and the votes received by each candidate. The program should then output each candidates name, the votes received by that candidate, and the percentage of the total votes received by the candidate. Your program should also output the winner of the election. Use the following data for your output:
Java basic programming use import java.util.* thanks in advance  Write a complete program that allows the user to enter the

Write a complete program that allows the user to enter the last names of 5 candidates i government election and the votes received by each candidate The program should then output each candidate's name, the votes received by that candidate, and the percentage of the total votes received by the candidate. Your program should also output the winner of the election. Use the following data for your output: s student % of Total Votes Johnson Miller Duffy Robinson Ashton 5000 25.91 4000 6000 20.72 31.09 12.95 9.33 2500 1800 19300 The Winner of th Election is Du

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!