QUESTION 2 ***Do for BOTH RESEDENTIAL and BUSINESS. MUST USE C++. MUST USE WHILE LOOP METHOD*** Produce a program that c

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

QUESTION 2 ***Do for BOTH RESEDENTIAL and BUSINESS. MUST USE C++. MUST USE WHILE LOOP METHOD*** Produce a program that c

Post by answerhappygod »

QUESTION 2
***Do for BOTH RESEDENTIAL and BUSINESS. MUST USE C++.
MUST USE WHILE LOOP METHOD***
Produce a program that calculates a customer’s bill for ONE
Network.
There are two types of customers: RESIDENTIAL and BUSINESS:
A) For RESIDENTIAL customers, the following rates apply:
B) For BUSINESS customers, the following rates apply:
The
formula to calculate bill amount is:
BILL AMOUNT =
Bill processing fee + Basic service fee + number of premium
channels * premium channel
The program should ask the user for an account number
(example: R0112345) and a customer code. Customer code should be R
or r for a RESIDENTIAL customer, and B or b for a BUSINESS
customer. Error message will be displayed if the user provides
wrong input. The OUTPUT will be the customer’s account number and
the billing amount. All fees must be declared as named constants.
Use manipulator for any appropriate output. Set precession to
2
The program allows the user to repeat the program as
they wish.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply