Question: Implement a structure to define the player data type, whose fields are name, age, position, team, jersey number. Then using subprograms assign values from a
Implement a structure to define the player data type, whose fields are name, age, position, team, jersey number. Then using subprograms assign values from a file to 10 different players. Also implement the subprogram "over 30" which returns the number of players who are over 30 years old. Show the percentage of players who are under 40 years of age. In an output file save all the information in the following format: Your name is .. your age is: . His team is his position is ..and his jersey number is: .. (file, code, screenshot). C++ Show the input file, the output file and the execution screenshot.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
