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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 00:00, babysisjessica1
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
image
Computers and Technology, 24.06.2019 11:00, iloveballet1857
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
image
Computers and Technology, 24.06.2019 20:20, isaiahromero15
Write python code that prompts the user to enter his or her favorite color and assigns the user’s input to a variable named color.
Answers: 1
image
Computers and Technology, 24.06.2019 21:30, asimms8504
Suppose a router has built up the routing table shown in the table. subnet number 128.96.39.00 28.96.39.128 128.96.40.00 192.4.153.0 default) subnet mask 255.255.255.128 255.255.255.128 255.255.255.128 255.255.255.192 nexthop interface 0 interface 1 r2 r3 r4. the router can deliver packets directly over interfaces 0 and 1, or it can forward packets to routers r2, r3, or r4. describe what the router does with a packet addressed to each of the following destinations: (a) 128.96.39.10 (b) 128.96.40.12 (c) 128.96.40.151 (d) 192.4.153.17 (e) 192.4.153.90
Answers: 3
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 in other subjects: