Question: In this exercise, you will create a program that displays the amount of a cable bill. The amount is based on the type of customer,

In this exercise, you will create a program that displays the amount of a cable bill. The amount is based on the type of customer, as shown in Figure 9-43. For a residential customer, the user will need to enter the number of premium channels only. For a business customer, the user will need to enter the number of connections and the number of premium channels. Use a separate program-defined function for each customer type. 

If necessary, create a new project named Advanced25 Project, and save it in the Cpp8\Chap09 folder. Enter your C++ instructions into a source file named Advanced25.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Test the program appropriately. 


Residential customers: Processing fee: Basic service fee: $4.50 $30 Premium channels: $5 per channel Business customers: Processing fee: Basic service fee: $16.50 $80 for the first 5 connections; $4 for each additional connection Premium channels: $50 per channel for any number of connections Figure 9-43

Residential customers: Processing fee: Basic service fee: $4.50 $30 Premium channels: $5 per channel Business customers: Processing fee: Basic service fee: $16.50 $80 for the first 5 connections; $4 for each additional connection Premium channels: $50 per channel for any number of connections Figure 9-43

Step by Step Solution

3.41 Rating (176 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

C Program include include using namespace std double ResidentialBillint channels return ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!