If an individual was suppose create a program that takes a sample file of studen
ID: 3652523 • Letter: I
Question
If an individual was suppose create a program that takes a sample file of students, professors, and courses, how would one assign it to create an output file such as this:COSC1436
Instructor:Eric Harry
Enrolled Students:
1 10002 Green Sheila
2 10003 Shthi Amid
3 10004 Andrew Duchovny
4 10005 Bill Bradley
5 10010 Susan Lima
6 10012 Joseph Sommers
7 10013 Michael North
Total Enrolled:7
COSC1437
Instructor:Charles Green
Enrolled Students:
1 10001 Miller Andrew
2 10006 David Balauner
3 10008 Lori Sears
4 10009 Kevin Gates
5 10014 Greg Cropper
6 10016 Sarah Schiff
7 10017 Stacy Green
Total Enrolled:7
MATH1023
Instructor:Beth McBride
Enrolled Students:
1 10001 Miller Andrew
2 10003 Shthi Amid
3 10004 Andrew Duchovny
4 10006 David Balauner
5 10007 Lee Ford
6 10008 Lori Sears
7 10009 Kevin Gates
8 10010 Susan Lima
9 10011 Bear Katz
10 10012 Joseph Sommers
11 10014 Greg Cropper
12 10015 Alan Smith
13 10016 Sarah Schiff
14 10018 Mary Schiff
15 10019 Phillip Avery
16 10020 William Gold
Total Enrolled:16
HIST3457
Instructor:Jason Thomas
Enrolled Students:
1 10003 Shthi Amid
2 10004 Andrew Duchovny
3 10007 Lee Ford
4 10008 Lori Sears
5 10010 Susan Lima
6 10012 Joseph Sommers
7 10013 Michael North
8 10014 Greg Cropper
9 10015 Alan Smith
10 10017 Stacy Green
11 10018 Mary Schiff
12 10019 Phillip Avery
13 10020 William Gold
Total Enrolled:13
Using these two sample files to create the above (similar)?
Student sample file:
10001 Miller Andrew 2 COSC1437 MATH1023
10002 Green Sheila 1 COSC1436
10003 Shthi Amid 4 MATH1023 HIST3457 COSC1401 COSC1436
10004 Andrew Duchovny 4 MATH1023 HIST3457 COSC1401 COSC1436
10005 Bill Bradley 1 COSC1436
10006 David Balauner 2 COSC1437 MATH1023
10007 Lee Ford 2 MATH1023 HIST3457
10008 Lori Sears 4 MATH1023 HIST3457 COSC1401 COSC1437
10009 Kevin Gates 2 COSC1437 MATH1023
10010 Susan Lima 4 MATH1023 HIST3457 COSC1401 COSC1436
10011 Bear Katz 1 MATH1023
10012 Joseph Sommers 4 MATH1023 HIST3457 COSC1401 COSC1436
10013 Michael North 3 HIST3457 COSC1401 COSC1436
10014 Greg Cropper 4 MATH1023 HIST3457 COSC1401 COSC1437
10015 Alan Smith 3 MATH1023 HIST3457 COSC1401
10016 Sarah Schiff 2 COSC1437 MATH1023
10017 Stacy Green 2 COSC1437 HIST3457
10018 Mary Schiff 3 MATH1023 HIST3457 COSC1401
10019 Phillip Avery 3 MATH1023 HIST3457 COSC1401
10020 William Gold 3 MATH1023 HIST3457 COSC1401
Professor Sample File:
COSC1436 Eric Harry
COSC1437 Charles Green
MATH1023 Beth McBride
HIST3457 Jason Thomas
I am not asking to create a program. I am asking how would I assign it to produce the sample output file (similar)? How would I do it? (code wise) Please and Thank You. Help is much appreciated.