Question: in c++ Your program should output the account number, type of service, number of minutes the telephone service was used, and the amount due from

in c++
in c++ Your program should output the account number, type of service,

Your program should output the account number, type of service, number of minutes the telephone service was used, and the amount due from the user! For the premium service, the customer may be using the service during the day and the night. Therefore, to calculate the bill, you must ask the user to input the number of minutes the service was used during the day and the number of minutes the service was used during the night. You should use switch statement in your solution. Sample Input/output: Enter your account number: 106 Enter number of day minutes: 100 Enter number of night minutes: 200 1 For customer with account number 106: Type of service: Premium Total number of minutes the service was used: 300 Total amount due: $30 Total number of minutes the service was used: 340 Total amount due: $33.4 Your program should output the account number, type of service, number of minutes the telephone service was used, and the amount due from the user! For the premium service, the customer may be using the service during the day and the night. Therefore, to calculate the bill, you must ask the user to input the number of minutes the service was used during the day and the number of minutes the service was used during the night. You should use switch statement in your solution. Sample Input/output: Enter your account number: 106 Enter number of day minutes: 100 Enter number of night minutes: 200 1 For customer with account number 106: Type of service: Premium Total number of minutes the service was used: 300 Total amount due: $30 Total number of minutes the service was used: 340 Total amount due: $33.4

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!