Write a program that reads the data from the file produced

Assignment Help Computer Engineering
Reference no: EM132098915

PLEASE DO BOTH PARTS! PLEASE DO NOT write it out You have a hard time reading people's hand writing please just type it out.

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: EM132098915

Questions Cloud

In how many ways can this be done : In how many ways can this be done? In how many ways be done if no two women may sit next to each other?
Identify and explain some different types of risks : Identify and explain some different types of risks that a computer network environment might face. What are some ways that these risks can be mitigated?
Write a method readdata in java program : Write a method readData(...) that reads and returns a list of integers. The list is preceded by the number of items in the list.
Write a stack for string data with pointers and linked lists : Test it by creating a DRIVER/Test file with int main, and Test the stack class and its basic functionality.
Write a program that reads the data from the file produced : 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.
Create a gui application that allows the user to enter : Assume the theater keeps 20 percent of its box office receipts. Use a constant in your code to represent this percentage.
Compute the maximum quizzes average grade over all students : Design a 4-parameter constructor (name, ID, GPA and quizzes array). Any trial to enter a negative quiz grade must generate the exception.
Write a java class that declares a named constant : Write a Java class that declares a named constant to hold the number of quarts in a gallon (4).
Output a set of elements input : "Implement a class called Reverse that uses a stack to output a set of elements input by the user in reverse order."

Reviews

Write a Review

Computer Engineering Questions & Answers

  Calculate and return the tip on a restaurant bill

Write a C# function called calcTip to calculate and return the tip on a restaurant bill.

  What are seven basic step in reviewing computer-based system

What is the preliminary review portion of an audit and why is it important? What are the seven basic steps in reviewing computer-based systems?

  Write a java program that will read an unknown number

Write a Java program that will read an unknown number of lines of data from a text file named 'Scores.text'. Each line of data contains exactly 10 floating point values. You are to calculate and print the average of each line.

  Challenges of internet search

State different challenges of relying over the Internet for your research?In extending a single-system mail system to distributed mail system, state the key additions which should be involved? Discuss in scholarly detail.

  Perform one of the tools functions

Perform one of the tool's functions. Paste each screen shot to the Lab 01 Kali Installation word processing document.

  Discuss the simplicity of the dtd compared xml schema

Discuss the simplicity of the DTD compared to that of XML Schema. Has trade-off gone too far towards complexity in trying to overcome the limitations of the DTD.

  How many independent memory channels should be provided

how many independent memory channels should be provided so the system is not limited by memory bandwidth if the bandwidth required is sometimes twice the average?

  Identify control necessary to defend against vulnerabilities

Conduct a comprehensive and detailed analysis of techniques for hardening operating systems and applications - Describe vulnerabilities related to the failure to harden operating systems and applications.

  What impact do these have on the security of corporate

What impact do these have on the security of corporate information. What steps does the corporation take to ensure its intellectual property

  How many restore commands would you have to give to recover

In the worst case scenario, how many restore commands would you have to give to recover a file that was dumped using this schedule?

  What is important about the given different frequencies

At what frequency ranges do the IEEE 802.11 b/alg/n/ac standards transmit? What is important about these different frequencies?

  Represent money in terms of payout

Driving between two destinations might cost you money in gas because you have no passenger, while others might make you money because passengers will pay.

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