Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 2 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 27 Aug 2017 My Price 13.00

telephone service company

SPRIZONis a well-known telephone service company that provides its customers with affordable call rates for mobile, landline and international calls. You have been hired by the company’s revenue department to create a program that can easily capture a customer’s call details and generate a summary of charges. These charges will be billed to the customer. The following information is provided to you.

A sample of customer account information is provided in the text file DataSample.txt.A customer is eligible to make any of the following types of calls. The rates are listed.

 

 

Call Type

Call Code

Peak Rate

Off-Peak Rate

Mobile

M or m

$0.45

$0.20

Landline

L or l

$1.20

$0.85

International

I or i

$3.50

$3.05

 

 

Use the following specifications to write the program:

? A customer can make any types of calls.

? For each call type, a customer can have either zero or more calls.

? The calls are made either during peak or off-peak hours.

 

1. The program should accept as input the user account number (phone number), the call type; for each call type, the number of calls the customer made. For each call specify the call minutes and whether the call was made during peak or off-peak hours.

 

 

 

 

2. You will use this information to generate the customer?s bill and display in the format given in the sample below. Please note that you will need to use appropriate call rate depending on whether the call was made during peak or off-peak hours.

 

3. The program should then continue to calculate the bill for the next customer. The program ends/exits when all bills have been generated.

 

4. The customer?s bill should display customer?s account information (phone number), subtotal charges for each call type. It should also display peak and off-peak minutes, rate and charges. A grand total showing the total charges payable by the customer. A sample output is given below:

 

 

 

Note:

• Validate all data entry.

• All numerical output must be formatted to display to twodecimal places.

• Have appropriate commenting in your program and practice good programming skills. Your program should be well indented, well documented and user friendly. The output format for the program can be of your own choice and style.

Answers

(5)
Status NEW Posted 27 Aug 2017 04:08 PM My Price 13.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)