PROSOLVE Game
[
Log In
]
Home
1: Algorithm
Question 1a
Question 1b
Question 1c
Question 1d
Question 1e
2: Basics
Question 2a
Question 2b
Question 2c
Question 2d
Question 2e
3: Input/Output
Question 3a
Question 3b
Question 3c
Question 3d
Question 3e
4: Selection
Question 4a
Question 4b
Question 4c
Question 4d
Question 4e
5: Repetition
Question 5a
Question 5b
Question 5c
Question 5d
6: Functions
Question 6a
Question 6b
Question 6c
Question 6d
7: Arrays
Question 7a
Question 7b
Question 7c
Help
ProSolve Game : 3 Steps
Feedback: PROSOLVE Game
PROSOLVE Game
Level 4
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 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
Random Steps :
Start
Read account number
End If
Read the customer code
Else If the customer code is b or B, Then Read the number of premium channels, Calculate the billing amount, Print the account number and the billing amount
Else the customer code is something other than r, R, b, or B. Output an error message
If the customer code is r or R, Then Read the number of premium channels, Calculate the billing amount, Print the account number and the billing amount
Stop
Number of Clicks:
(
Instruction:
Re-arrange the above given random steps into correct steps of sequential order by moving the lines (steps), up or down using the arrow Image-Buttons at right side of the list box.)
Total POINTS: