An International Internet phone company has three different subscription packages for its customers:Package A: For $9.95 per month 5 hours of call time are provided. Additional usage costs $0.08 per minute.Package B: For $14.95 per month 10 hours of call time are provided. Additional usage costs $0.06 per minute.Package C: For $19.95 per month unlimited call time is provided.Write a program that calculates a customer’s monthly bill. It should input customer name, which package the customer has purchased, and how many hours were used. It should then create a bill that includes the input information and the total amount due. Wherever possible use named constants instead of numbers.
An International Internet phone company has three different subscription packages for its customers:
Package A: For $9.95 per month 5 hours of call time are provided. Additional
usage costs $0.08 per minute.
Package B: For $14.95 per month 10 hours of call time are provided. Additional
usage costs $0.06 per minute.
Package C: For $19.95 per month unlimited call time is provided.
Write a program that calculates a customer’s monthly bill. It should input customer name, which package the customer has purchased, and how many hours were used. It should then create a bill that includes the input information and the total amount due. Wherever possible use named constants instead of numbers.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images