Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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++
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started