Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedimage text in transcribed

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 19

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2022 Grenoble France September 19 23 2022 Proceedings Part 4 Lnai 13716

Authors: Massih-Reza Amini ,Stephane Canu ,Asja Fischer ,Tias Guns ,Petra Kralj Novak ,Grigorios Tsoumakas

1st Edition

3031264118, 978-3031264115

More Books

Students also viewed these Databases questions

Question

Understanding Group Affiliations?

Answered: 1 week ago

Question

Describe the factors influencing of performance appraisal.

Answered: 1 week ago