Question: Question 1 Write a CH function for a general election and make two dimensional array of 10 candidates, 1. Get the names of all the

 Question 1 Write a CH function for a general election and
make two dimensional array of 10 candidates, 1. Get the names of

Question 1 Write a CH function for a general election and make two dimensional array of 10 candidates, 1. Get the names of all the candidates. b. Display candidate name, votes received by candidate and percentage. Your program must display the winner of the general election. Output Sample: Candidate Votes Received % of Total Votes Johnson 5000 25.91 Miller 4000 20.73 Duffy 6000 31.09 Robinson 2500 12.95 Ashtony 1800 9.33 Total 19300 The Winner of the Election is Duffy. Question 2 Write a CH function that takes a pointer to a string and a char X (char X is entered by the user). The function should return the number of times Odd ASCII numbers appeared in the string. Write a main() program to test the function. Sample Output: Ajman University Total Odd ASCII numbers are: 09 Question 3 Write a C++ program based on structures and declare struct Cricket Team to store the player's details (Country name, player first_name, player second_name, no. of matches played and best score), a. Declare an array for 20 players b. Make function to get the input data. c. Make a search function to find the specific player and display player's details d. Ask the user to add more players or not. e. Make a function to display the output Write a main program to test your functions

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!