Question
25. In this exercise, you will create a program that displays the amount of a cable bill. The amount is based on the type of
25. 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: Premium channels: $4.50 $30 $5 per channel Business customers: Processing fee: Basic service fee: Premium channels: $16.50 $80 for the first 5 connections; $4 for each additional connection $50 per channel for any number of connectionsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started