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 15:30
In a compound condition, both conditions on either side of the logical operator and must be true for the overall condition to be true. a: true b: false
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
Perform the following tasks: a. create a class named testclass that holds a single private integer field and a public constructor. the only statement in the constructor is one that displays the message “constructing”. write a main()function that instantiates one object of the testclass. save the file as testclass.cpp in the chapter 08 folder. run the program and observe the results. b. write another main()function that instantiates an array of 10 testclass objects. save the file as test class array.c . run this program and observe the results.
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
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
Mathematics, 05.03.2021 21:10
question
Mathematics, 05.03.2021 21:10
question
Mathematics, 05.03.2021 21:10
question
Mathematics, 05.03.2021 21:10
Questions on the website: 13722367