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 03:10
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it must not appear in the factorization. sample runs are given below. note that if the power of a prime is 1, then that 1 must appear in t
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
Quic which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
question
Computers and Technology, 24.06.2019 20:00
Avirus enters a computer or network as code embedded in other software directly from another computer
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, 20.11.2020 19:50
question
Mathematics, 20.11.2020 19:50
question
History, 20.11.2020 19:50
question
Computers and Technology, 20.11.2020 19:50
question
Spanish, 20.11.2020 19:50
question
Mathematics, 20.11.2020 19:50
question
Mathematics, 20.11.2020 19:50
question
Spanish, 20.11.2020 19:50
Questions on the website: 13722367