Write a program that reads the data from the file produced

Assignment Help C/C++ Programming
Reference no: EM132081105

You need both part A and part B. Please HELP! Thanks! PLEASE DO BOTH PARTS!

Part A: Write a c++ 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.

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

Reference no: EM132081105

Questions Cloud

How many units should mccoy company produce : McCoy Company has beginning inventory of 14000 units and expects to sell 3000 units. How many units should McCoy Company produce
Calculate the npv using an interest rate : You have an opportunity to purchase a truck that will last 3 years and cost 30,000 dollars. Calculate the NPV using an interest rate of 10 percent
Compute the dividends to preferred and common stock : Compute the dividends to preferred and common stock for 2008, as well as the dividends per share of common stock
Define what was the net income for the year : The transactions carried out by Coconut Corporation during the year caused an increase in total assets of $50,000 and a decrease in total liabilities of $20,000
Write a program that reads the data from the file produced : Write a c++ program that prompts the user to enter information about course enrollments, and writes this data to file coursedata.txt.
Purchasing modern technology in hospital environment : What challenges occur with purchasing modern technology in a hospital environment?
Examine ethical issues related to the audit function : Write a 750-word essay on the selected topic and examine its importance with respect to ethical behavior. Your essay must cite at least 2 scholarly sources.
Write a matlab script to generate the coordinates of each : Each mouse travels towards its closest neighbor (in a counterclockwise direction) at a constant speed. The paths that the mice take form spiral curves.
Calculating the variance of project completion time : When calculating the variance of a project's completion time,

Reviews

Write a Review

 

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd