Answered step by step
Verified Expert Solution
Link Copied!

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++
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

=+j Explain the essential nature of repatriation.

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago