im new with c++ and my lecturer given this question and ask me to solve it. it is difficult to understand it. anyone can help me,pls?
Given the structure
typedef struct {
char Firstname[20];
char Lastname [20];
char add[20];
char city[20];
char state[20];
char zip[6];
char phone[15];
}student;
Student stu[100];
Write a program, which will ask the user to enter the number of students’ record they want to store. The program should accept student’s first name, last name, address, city, state, zip code and phone number. The user must be able to store at least (minimum) 5 students’ records. Then prompt a menu to give the user choice, either to display the particulars entered or to exit from the program. Before display the particulars, the program should print the student a number, followed by his/her particulars (first name, last name, address, city, state, zip code and phone number). Example, for the first student record, display student number: 1, for the second student record, print student number…. Before exit from the program write all the students’ record into a text file called as student.txt.