Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help on this please! I will put part A in too in case it is needed to do part B. Thanks for any

I need help on this please! I will put part A in too in case it is needed to do part B. Thanks for any and all help!!!! Oh and plesase if it can be done please use Microsoft Visual Studio 2012 that is what I use.

Part B: Write a program that reads the data from the file produced in Part A, and produces a report showing the courses taught by each instructor, along with their enrollments, and the total enrollment for that instructor. This report should be written to the file coursereport.txt, located in the folder Test on drive C:. It should be in order by instructor last name - for example:

Buzi CSIT 221 16 CSIT 341 25 CSIT 463 22 Total: 63

...

Zubairi CSIT 201 30 CSIT 251 23 CSIT 425 15 Total: 68

Here is part A in case it is needed:

Part A: Write a program that prompts the user to enter information about course enrollments, and writes this data to file coursedata.txt, located in the folder Test on drive C:. Use CSIT courses currently being offered, but include only those taught by one of the following professors: Buzi, Hu, Maloney, Scialdone, Zubairi. For each course, enter the subject code and number, the instructor's last name, and the enrollment - for example:

CSIT 201 Zubairi 30

CSIT 221 Buzi 16

CSIT 241 Maloney 24

...

CSIT 463 Buzi 22

Note that the data should be written to the file in increasing order by course number.

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

Step: 3

blur-text-image

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions