Write an interactive C program that calculates a customer’s bill for the Jumbo telecommunication company. Business and residential are 2 the kinds of customers.There are 2 rates for calculating a bill: one for business customers and one for residential customers.
The following rates apply for business customers:
Premium channels: $40 per channel for any number of connections.
Basic service fee: $20.00 for the first 20 connections, $4.00 for each additional connection
Bill processing fee: $12.00
The following rates apply for residential customers:
Premium channels: $8.50 per channel.
Basic service fee: $10.50
Bill processing fee: $3.50
The program should ask the user for and a customer code and an account number (an integer). Assume that a customer code 2 stands for a business customer and 1 stands for a residential customer, and
Input: The number of premium channels, customer code, customer’s account number to which the user subscribes, and , in the case of number of basic service connections , business customers.
Processing: The program should calculate the following bills:
BusinessBill : This is the billing amount for business service.
ResidentialBill : This is the billing amount for residential service.
Output: Customer’s account number, the type of service and the billing amount
Note. This is a full one question asked. Thanks very much expert.