A record contains: name of footballer his age number of matches that he has played the total goals that he has scored Create an array of structure to hold records of 05 such footballers and then write a menu driven program that will display the following menu: Add footballer Delete footballer Search footballer w.r.t name Search footballer w.r.t no. of matches played Search footballer w.r.t no. of total goals scored Display all records Exit Create separate functions for all these options. You may use predefine functions for any of these where necessary.
Answers
Explanation:
A record contains:
• name of footballer
• his age
• number of matches that he has played
• the total goals that he has scored
Create an array of structure to hold records of 05 such footballers and then write a menu driven program that will display the following menu:
• Add footballer
• Delete footballer
• Search footballer w.r.t name
• Search footballer w.r.t no. of matches played
• Search footballer w.r.t no. of total goals scored
• Display all records
• Exit
Create separate functions for all these options. You may use predefine functions for any of these where necessary.
Save these records in a file footballer.txt. whenever a function will be called the data should be extracted from the file at runtime.
Answer:
foot balleer ki age or उसका गोले