Question: Problem Statement: Write a program that declares a struct to store the data of a football player. The struct should include players name, players position,

Problem Statement: Write a program that declares a struct to store the data of a football player. The struct should include players name, players position, number of touchdowns, number of catches, number of passing yards, and number of receiving yards.

Create an array of the struct type to store players information. Let the user enters the size of the array (dynamic array). For instance, if the user wants to store 5 players information, s/he would enter 5 for the array size and your program should create an array of size 5.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!