Write a program in C++ language that declares a struct to storethe data of a football player (players name players positionnumber of touchdowns number of catches number of passing yardsnumber of receiving yards and the number of rushing yards).Declare an array of 10 components to store the data of 10 footballplayers. 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 update the data of a player.(You may assume that input data is stored in a file.) Before theprogram terminates give the user the option to save data in afile. Your program should be menu driven giving the user variouschoices.