subject

C++ Write a program that declares a struct to store the data of afootball player (player’s name, player’s position, number oftouchdowns, number of catches, number of passing yards, number ofreceiving yards, and the number of rushing yards).
Declare an array of 10 components to store the data of 10football players.
Your program must contain a function to input data and afunction to output data. Add functions to search the array to findthe index of a specific player, and up-date the data of a player.(You may assume that the input data is stored in a file.) Beforethe program terminates, give the user the option to save data in afile. Your program should be menu driven, giving the user variouschoices.
An example of the program is shown below:
Select one of the following options:
1: To print a player's data
2: To print the entire data
3: To update a player's touch downs
4: To update a player's number of catches
5: To update a player's passing yards
6: To update a player's receiving yards
7: To update a player's rushing yards 99:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 23.06.2019 20:00
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
You know the right answer?
C++ Write a program that declares a struct to store the data of afootball player (player’s name, p...
Questions
question
Social Studies, 17.04.2020 17:07
question
Mathematics, 17.04.2020 17:08
Questions on the website: 13722363