Question: Q6: Write a program that declares a struct to store the data of a cricket player (player's name, number of matches, and average of player).

 Q6: Write a program that declares a struct to store the

Q6: Write a program that declares a struct to store the data of a cricket player (player's name, number of matches, and average of player). Declare an array of 10 components to store the data of 10 cricket players. Your program must contain following: (5 Marks) function to input data in a function called set_data function to output data in a function called get_data Add function to search the array to find the index of a specific player. Your program should be menu driven, giving the user various choices

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!