Question: ercise#1: Cellular Telephone Bill Write a program that calculates and prints the bill for a cellular telephone company. The company offers the following two types

 ercise#1: Cellular Telephone Bill Write a program that calculates and prints

ercise#1: Cellular Telephone Bill Write a program that calculates and prints the bill for a cellular telephone company. The company offers the following two types of services: Regular: Premium: $10 for the first 50 minutes, plus $0.2 per each extra minute. $25 for the first 75 day minutes, plus $0.1 per each extra day minute, also the charge is free for the first 100 night minutes, plus $0.05 per each extra night minute. The program should print the service type, total number of minutes, and amount due. Sample input/ output: nter the service type: R ter the nunber of ninutes: 238 he type of sevice is R The anount due is $46 nter the service type: P nter the nunber of day ninutes and the nunber of night ninutes: 218 188 he type of sevice is he nunber of ninutes is 398 he anount due is $42.5 nter the service type: u nvalid charctert

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!