Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c++ with 3 file .h and with header file , private and public 2]Description: This programming demonstrates a program that calculates a customer's bill

in c++ with 3 file .h and with header file , private and public

2]Description:This programming demonstrates a program that calculates a customer's bill for a local cable company. There are two types of customers:residentialandbusiness. There are two rates for calculating a cable bill: one for residential customers and one for business customers. From chapter 1 to 5, to test various inputs by the users, we have to close the DOS command prompt window.Your program will stop running when the user enter N or n to stop and Y or y is to continue running. Add option to allow the user to change Billing Processing Fee for either residential or business customers. If the user enter c or C, your program should give options

For residential customers the following rates apply:

Bill Processing Fee: $4.50

Basic Service Fee: $20.50

Premium channels: $7.50 per channels

For business customers the following rates apply:

Bill processing fee: $15.00

Basic Service Fee: $75.00 for first 10 channels, $5.00 for each additional connection

Premium channels: $50.00 per channel for any number of connections

The program should ask the user for an account number and a customer code. Assume that 'R' or 'r' stands for residential and 'B' or 'b' stands for Business. If the user enter code that is not R or r, B or b, an error message should be display. "You have entered in valid choice from the menu".

To calculate bill forresidential customers, total number of premium channels should be multiple by Premium channels rate and Bill Processing and Basic Service should be add to get amount due. As forbusiness customersbill, if number of basic customer is less than or equal to 10, the cost of the basic service connection is fixed. If the basic service connections is more than 10, you must most add the cost for each connection over 10.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions