Question

Kilobytes Systems has moved from Distribution of computer peripherals and accessories to provide Telephone a programmer...

Kilobytes Systems has moved from Distribution of computer peripherals and accessories to provide Telephone a programmer to calculate and prints client's bill for services and has contracted you as cellular telephone usage. The kilobytes offers two types of service: golden and platinum.

Its rates vary, depending on type of service. The rates are computed as follows:

Golden service: 20.00 plus first 100 minutes are free charges for over 100 minutes are 20 cents per minute and 4 cents if you are a student in CSC 121

Platinum service: 125.00 plus:

For calls made from 9:00 a.m. to 9:00 p.m., the first 15 minutes are free; charges for more than 15 minutes are 10Cents per minute.

For calls made from 9:00 p.m to 9.00 am., the first 20 minutes are free; charges for more than 20 minutes are 2Cents per minute.

Your program interface should prompt the user to enter an account number (xxx-xxx-x) a service Code (type char), and the number of minutes the service was used. A service code of Q or q means golden service; a service code of W or w means platinum service. Treat any other character as an error. Your program should output the account number, type of service, number of minutes the telephone service was used, and the amount due from the user.

For the platinum service, the customer may be using the service during the day and the night. Therefore, to calculate the bill, you must ask the user to input the number of minutes the service was used during the day and the number of minutes the service was used during the night. Keep track of this records using the data structure ( structs) for this transactions.

Print a sample report of 5 users.

Below is a sample printout.

Kilobytes Systems has moved from Distribution of c

I've been stumped on this question for the past couple of days... Any help would greatly be appreciated. Thank you and have a good day.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Program :

Add a comment
Know the answer?
Add Answer to:
Kilobytes Systems has moved from Distribution of computer peripherals and accessories to provide Telephone a programmer...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • PLEASE DO THIS IN JAVA!Design (pseudocode) and implement (source code) a program (name it PhoneBill) that...

    PLEASE DO THIS IN JAVA!Design (pseudocode) and implement (source code) a program (name it PhoneBill) that calculates the bill for a cellular telephone company. The company offers two types of service: regular service and premium service. The rates vary depending on the type of service. The rates are computed as follows: Regular service: $15.00 fee covering first 50 minutes. Charges for over 50 minutes are computed at the rate of $0.50 per minute. Premium service: $25.00 fee plus: a. For...

  • please do the program in simple programming it is for my first c++ computer class i...

    please do the program in simple programming it is for my first c++ computer class i posted the example on pic 2,3 which is how this should be done Write a program that calculates and prints the bill for a cellular telephone company. The company offers two types of services: regular and premium. Its rates vary depending on the type of service. The rates are computed as follows: Regular service: $10.00 plus the first 50 minutes are free. Charges for...

  • Problem 1 REGIONAL AIRLINES Regional Airlines is establishing a new telephone system for handling flight re...

    Problem 1 REGIONAL AIRLINES Regional Airlines is establishing a new telephone system for handling flight reservations. During the 10:00 A.M. to 11:00 A.M. time period, calls to the reservation agent occur ran- domly at an average of one call every 3.75 minutes. Historical service time data show that a reservation agent spends an average of 3 minutes with each customer. The waiting line model assumptions of Poisson arrivals and exponential service times appear reasonable for the telephone reservation system. Regional...

  • BAYOU COMPUTER SERVICES, INC. Company Background Bayou Computer Services, Inc, is a popular compu...

    BAYOU COMPUTER SERVICES, INC. Company Background Bayou Computer Services, Inc, is a popular computer service center that was started by Begona Perez-Mira and Brenda Henson. As individuals who devoted a great deal of their time assisting others with solving computer problems, they wanted a way to provide their services to other people in the local area. They established a computer service business that specialines in computer repairs, networking, vinus and spy ware protection, removing viruses from computers in order to...

  • Question 1: Wendy's Happy Homes Inc manufactures Home Appliances. Monthly sales of Wendy's Washer...

    Question 1: Wendy's Happy Homes Inc manufactures Home Appliances. Monthly sales of Wendy's Washers and Dryer Sets for a nine month period were as follows: MONTH Washer and Dryer Sales 490 480 450 500 480 470 490 520 530 January February March April May June July August September Forecast October sales using 1) A four-month moving average 2) a six-month moving average 3. Compute the MAD for each forecast method you used Actual October sales were 320 nits. 4) Which...

  • Wanted by the Police: A Good Interface By KATIE HAFNER NOV. 11, 2004 From: The New...

    Wanted by the Police: A Good Interface By KATIE HAFNER NOV. 11, 2004 From: The New York Times, Technology section, not-for profit classroom used. SAN JOSE, Calif. - SAN JOSE has a reputation as one of the safest large cities in the nation, with the fewest police officers per capita. Yet a number of the 1,000 officers in this city of 925,000 in the heart of Silicon Valley have been worrying about their own safety of late. Since June, the...

  • How does this article relate to the factors of productions in economics? From Music to Maps,...

    How does this article relate to the factors of productions in economics? From Music to Maps, How Apple’s iPhone Changed Business Ten years ago, hailing a cab meant waiving one's arm at passing traffic, consumers routinely purchased cameras, and a phone was something people made calls on. The iPhone, released a decade ago this month, changed all of that and more, sparking a business transformation as sweeping as the one triggered by the personal computer in the 1980s. Apple Inc.'s...

  • using the information fill out the 1040 tax form 1:9-72 George Large (SSN 000-11-1111) and his...

    using the information fill out the 1040 tax form 1:9-72 George Large (SSN 000-11-1111) and his wife Marge Large (SSN 000-22-2222) live at 2000 Lakeview Drive, Cleveland, OH 49001 and want you to prepare their 2017 income tax return based on the information below: George Large worked as a salesman for Toyboat, Inc. He received a salary of $80,000 ($8,500 of federal income taxes withheld and $1,800 of state income taxes withheld) plus an expense reimbursement from Toyboat of $5,000...

  • The discussion: 150 -200 words. Auditing We know that computer security audits are important in business....

    The discussion: 150 -200 words. Auditing We know that computer security audits are important in business. However, let’s think about the types of audits that need to be performed and the frequency of these audits. Create a timeline that occurs during the fiscal year of audits that should occur and “who” should conduct the audits? Are they internal individuals, system administrators, internal accountants, external accountants, or others? Let me start you: (my timeline is wrong but you should use some...

  • QUESTION 4 On the day of Max's discharge from the hospital, the attending physician asked him...

    QUESTION 4 On the day of Max's discharge from the hospital, the attending physician asked him questions and provided information such as Max's final diagnosis, prognosis, the results of various diagnostic tests, and necessary follow-up in the outpatient setting. The provider created two medical records for this same date of service. A progress note for the day of discharge records the physicians review of diagnostic tests, assessment of the patient's condition, and decision to discharge home. The discharge summary provides...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT