Write a program that prompts the user to enter 10 inputs, each containinga number showing the margin of the leading candidate in each of the 10 counties of a given state, as well asa letter which is the first letter of the last name of the leading candidate (i.e., B for Mr. Brown, T for Mr. Taylor). For example, a input showing a 5000 votes margin for Mr. Brown is like 5000B .Your program is to aggregate votes across the entire state and project the winner. Based on estimates, a candidate is projected as winner if he can build a total margin of at least 50000 votes more than his opponent. If no candidate has built such margin, just tell the user thatit is too early to call.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here