Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SCENARIO: JimmyC ALL POWERFUL CABLE CO. Billing is as follows: Billing is set by the TYPE of customer that JimmyC All Powerful Cable Company has.

image text in transcribed
image text in transcribed
image text in transcribed
SCENARIO: JimmyC ALL POWERFUL CABLE CO. Billing is as follows: Billing is set by the TYPE of customer that JimmyC All Powerful Cable Company has. There are 2: Residential(home use), and Business. COST SPECIFICATIONS PER MONTH 2 customer types: Residential Customers, Business Customers Residential Customer Rates are as follows per month: Bill Processing Fee: 7.50 Basic Service Fee: 58.00 Premium Channels: 9.00 per Channel Business Customer Rates are as follows per month: Bill Processing Fee: 15.00 Basic Service Fee: 75.00 which includes 3 Public IP addresses. There is an additional charge of 15.00 per each additional Public IP address needed by the business customer. Premium Channels: 9.00 Per channel Programming Specifications: Program should ask display opening Welcome Banner with company name. Brief directions for getting a quote should also be displayed. Program should ask user for type of Customer code they desire: Rorr is residential customer type. B or b is Business. Upper or Lower case should be accepted by the user. INPUT: IMPORTANT: for this program I WANT you to use variables for all of the various fees! I do NOT want to see hard coded numeric literals. In other words, look at basic service fee for a residential customer. It is 58.00 that is a HARD CODED Numeric literal. It should be stored in a variable! In that way, when prices go up (and as we know, cable prices ALWAYS go up....), you would only have to change it in ONE spot! Do this for ALL of the different kinds of fees listed! Get from the user their name (if residential, their full name, if business, their business company name) Get email address for future use. Get customer code (B for Business, R for Residential - lowercase should also work). Get number of premium channels to which user subscribes If customer is a Business, get the number of additional public IP public addresses ( any above 3), that they want. PROCESSING Compute monthly charge. If customer type is Business, calculate number of IP connections. Up to 3 IP addresses are included in Basic service fee. Any more than that, it is 15.00 per IP address. OUTPUT Display Monthly Charges broken out by line item, and total monthly charges. Your output will vary depending upon whether customer is residential or business. Below is a couple of sample runs of how your program should work. password is cisrvcrocks

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago