Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

that calculates a customer’s bill for a local cable company. There are two types of customers: residential and business

–2 votes
asked Nov 23, 2019 by hASEEB aHMAD
There are two rates for calculating a cable bill: one for residential and one for business customers.
Rates that apply for residential customers:
 
 
 
 
Rates that apply for business customers:
 
 
 
 
 
 
Input, Processing and Output:  
1- Customer account Number (an integer) 2- Customer code (B/b for business customers and R/r for residential).
If the customer type is R or r.
1- Prompt the user for the number of premium channels. 2- Compute the bill 3- Print the bill
If the customer type is B or b
1- Prompt the user for the number of basic service connections and number of premium channels. 2- Compute the bill. 3- Print the bill.
NOTE: Based on the information above. First develop formulas for bills for both customer types and get it checked by any of the instructor in the lab, once approved then start impleme

1 Answer

0 votes
answered Nov 27, 2019 by rohan ag (1,150 points)
i simply wrote the requirements if u want some modification u can

https://onlinegdb.com/HyS-d3s3S
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...