ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

c++ Assignment

by | Nov 29, 2023 | questions

Can use
1.Selection Structures2.Repetition Structures
3.Function
4.Arrays (not dynamic)5.cstring(not pointers)6. File input and output
7.Structs and Enum
8. Recursion
and also I have to use multi source file in this one
so here is all my reqiurements

Document Preview:

Background:
In this assignment you will work on multi file C++ programs and explore some facets of design.
Remember that:
1. All programs should be able to run on the lab’s computers.
2. You must put the following information on the header of each text and source file you will be submitting in this assignment:
Student’s full name:
Student’s ID:
Modification Date:
Purpose of this file (or program):
3. Assignments that are not able to be compiled will result in zero mark given to the assignment.
4. You must only use the C++ features that have already been covered in the lectures
Problem Specification:
Fast-Internet Corporation is an Internet Service Provider that charges customers a flat rate of RM30.00 for up to 100 hours of total connection time in a month. Additional hours or partial hours are charged at RM3.50 each. You are required to write a program to keep track of the usage and charges for all the customers of Fast-Internet Corporation.
A data file (usage.txt) is used to keep the information of the usage for each customer in a particular month. The first line in the file contains two numbers, the month and the year. The subsequent lines represent the details of each customer. Each line includes the customer number, customer name, and the connection time in hours. A sample data file is shown below:
9 2013
11122 Clerk Kent 4.6
43299 Peter Parker 12.5
28800 Bruce Wayne 9.8
Your program should use a suitable data structure to store the information of each customer which includes the following:
Customer’s Number
Customer’s Name
Connection Hours
Total Charges (should be calculated and updated by the system)
Once the program starts, all the records should be read from a specified data file (entered by user) and stored in the memory. The total charges for each customer should be calculated and updated. If the file does not exist, indicate to the user that a new database will be created with no existing record.
The program…

Attachments:


ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!