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