Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started