computer engineering ( c program)

write a C program . Create a structure named Person with two components: name and age. Create two Person variables and write the records in a text file, say records.txt. Then read the data from file and display the average age.