Question
Create a program that read the attached studentData.txt file above, and: - store each students' information in a Student structure variable. - stored each student
Create a program that read the attached studentData.txt file above, and:
- store each students' information in a Student structure variable.
- stored each student in an array called allStudents.
- create a function that go through the allStudent array and show students information on the screen.
Here is a possible pseudo code for this program:
Define Student structure (email, firstName, lastName)
open the text file for reading
while (not the end of file)
create a Student variable read data from file into Student structure elements store Student variable in the array allStudents
end while loop
Read each student variables from the array allStudents
rohit85@gamil.com smith90@gmail.com jhonson88@gmail.com cotton98@gmail.com jasmine90@gmail.com jhon34@gmail.conm mark65@gmail.com smith77@gamil.com srinivas54@gamil.com venkat67@gmail.com wilson98@gmail.com rohit genne smith kevin johnson hani cotton bobby tylor jhon mark smith srinivas thota kota wilson jasmine mike mike tom venkat natiiyaStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started