Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help making a c++ program that calculates the cost of a phone call when given the length of the call and the day

I need help making a c++ program that calculates the cost of a phone call when given the length of the call and the day of the week.
Any call started between 8am and 6pm Monday-Friday costs $0.40 per minute
Call started before 8am and after 6pm Monday-Friday costs $0.25 per minute
And any call on Saturday and Sunday costs $0.15 per minute
Max call- 720 minutes

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

More Books

Students also viewed these Databases questions

Question

What is paper chromatography?

Answered: 1 week ago

Question

Explain the cost of capital.

Answered: 1 week ago

Question

Define capital structure.

Answered: 1 week ago

Question

Draft a proposal for a risk assessment exercise.

Answered: 1 week ago