Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help. where there are // is where code needs to be written please help. Don't ask for better pictures this is the best they
please help. where there are // is where code needs to be written please help. Don't ask for better pictures this is the best they will get just enlarge them and you should be able to read them. thanks for any and all help!! Please make sure to read the instructions and please make sure I know where each piece of code goes! Please and thanks!!!!!
The file coursedata.txt, located in the folder Data on the Ca drive, contains infomation on CSIT course enrollments for a certain semester. The data looks like this: CSIT 104 Decker 26 CSIT 104 02 Decker 24 CSIT 473 Nazarenko CSIT 999 01 Nobody The data is organized into records. Each record contains the information for one course section, and includes, on separate lines: (I) the subject code and course number; (2) the section number: 3) the instructor's last name: (4) the enrollment for that section. Important The records are ordered by course number, and the file ends with a "dummy record" for the nonexistent course, CSIT 999. Write a program to read the file and produce a report, showing the number of sections and total enrollment for each course. This report should be written to the file enrollment data, located in the Data folder on the C: drive. Here is a sample of what this report might look like: CSIT 104 74 24 CSIT 473 19Step 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