Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

YOu need help on this please! you will put part A in too in case it is needed to do part B. 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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93065253

Have any Question?


Related Questions in Computer Engineering

A 0l m solution of acetic acidch3cooh causes a bulb to glow

A 0.l M solution of acetic acid(CH3COOH) causes a bulb to glow bright as 0.001 M solution of HBr. Explain (Hint: think about strong and weak electrolytes). 2. An unknown white solid dissolves completely in water. Additio ...

I suppose alice wants to send a long message m to bob if

(i) Suppose Alice wants to send a long message m to Bob. If Alice and Bob already share a secret key k, and they use HMAC to protect the integrity of the message m, what should the message format be (or what components s ...

This is a simple exercise to introduce the use of arrays

This is a simple exercise to introduce the use of arrays and some of the common errors that occur when programming with them in c++. • Write a simple program that allows the user to enter 10 integers into an array, then ...

Suppose you were working on a very large system that

Suppose you were working on a very large system that consisted of many .cpp files and the associated header files. Lots of libraries too, developed for the project. a. What ADT structure could you use to represent all th ...

Question what is the syntax of the while construct in the c

Question : What is the syntax of the "while" construct in the c programming language? Show how the while construct can give the functionality of the "for" construct, for (init-phrase; test-cond; incr-phrase)

A monochromatic source emitting photons at 250 nm shines

A monochromatic source emitting photons at 250 nm shines with equal intensity on a zinc electrode (threshold n =1.04 x1015 Hz) and a sodium electrode (threshold n = 5.51 x1014 Hz). Which of the following statements is tr ...

Show your steps of how you found your calculations please

Show your steps of how you found your calculations. Please type reponse. Suppose the daytime processing load consists of 60% CPU activity and 40% disk activity. Your customers are complaining that the system is slow. Aft ...

Sectuon 112 build draw binary search tree with the names

Sectuon 11.2: Build draw binary search tree with the names Doc, Grumpy, Happy, Sleepy, a Bashful, Sneezy, Dopey, inserted in the order provided here. Assume that, on future searche of this tree, each name is equally like ...

What is the broadcast domain and ports for hubs and

What is the Broadcast Domain and Ports for hubs and bridges?

Search the web or other sources for a recursive function

Search the web or other sources for a recursive function that's not in our Python text. Implement that function in Python then turn in a Word document that contains the following: (1) A brief paragraph explaining what yo ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As