When outputting the number of minutes the ...
Computer Science
12 Aug 2021
When outputting the number of minutes the telephone service was used, output the day time and night time minutes used for a Premium type of service. Be sure to format your output appropriately (e.g. use dollar signs and round cents to 2 decimal places). TIP: Utilize a switch to implement your solution. Write a program that calculates and prints the bill for a cellular telephone company. The company offers two types of service: regular and premium. Its rates vary, depending on the type of service. The rates are computed as follows: Regular service: $10.00 plus the first 50 minutes are free. Charges for over 50 minutes are $0.20 per minute. Premium service: $25.00 plus: a. For calls made from 6:00 a.m. to 6:00 p.m., the first 75 minutes are free; charges for more than 75 minutes are $0.10 per minute. b. For calls made from 6:00 p.m. to 6:00 a.m The first 100 minutes are free; charges more than 100 minutes are $0.05 per minute.
Desklib
Solutions
12 Aug 2021
The Python code for the above problem is shown below: ...
Get Expert Help
Related Questions
09-Nov-2022
Programming question ...
05-Nov-2022
A new room tax system is required ...
04-Nov-2022
How many watts in a micro watt ...
22-Oct-2022
Write a letter to a bank or ...
21-Oct-2022
Please assist with how we write the ...
18-Oct-2022
what is the database ...