Problem Analysis Algorithemic Model (PAAM)
CONTROL STRUCTURE : SELECTION : 5/5
Problem is to write a program that calculates a customer’s bill for a local cable company. There are two types of customers: residential and business. There are two rates for calculating a cable bill: one for residential customers and another one for business customers. For residential customers, the following rates apply:
Residential Customer
• Bill processing fee: $4.50
• Basic service fee: $20.50
• Premium channels: $7.50 per channel

Business Customer
• Bill processing fee: $15.00
• Basic service fee: $75.00
• Premium channels: $50.00 per channel
INPUT PROCESS OUTPUT
Customer Account No., A
No. of Premium Channels, N
Customer Type, T
(R or B)
A
T N
Bill Amt
Account Number
Billing Amount
PSEUDO-CODE
Random Steps :
Right Steps :



(Instruction: Select any line/step from the first List Box and move it to the second List Box and make all its lines into correct steps of sequential order, using the Arrow Keys.)