Suppose that the cellular phone bill of client is computed according to the following rates table for
Fantastic news! We've Found the answer you've been seeking!
Question:
Suppose that the cellular phone bill of client is computed according to the following rates table for calls
First 5 min $100.00 (minimum charge)
Next 10 min $ 8.00 per min
Next 5 min $ 6.00 per min
Excess over 30 min $ 1.50 per min
Text messages cost $1.00 per send. Write a program that computes the phone bill based on the number of minutes used up and the number of text messages sent that are to be read from the keyboard. The program should be able to compute the bill for a maximum of 10 clients. The user specifies the number of clients to be billed at the start of the program
Related Book For
Probability and Stochastic Processes A Friendly Introduction for Electrical and Computer Engineers
ISBN: 978-1118324561
3rd edition
Authors: Roy D. Yates, David J. Goodman
Posted Date: