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.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter5: Making Decisions
Section: Chapter Questions
Problem 4PE
icon
Related questions
icon
Concept explainers
Question

 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.

Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT