Problem

Long-Distance CallsA long-distance provider charges the following rates for telephone call...

Long-Distance Calls

A long-distance provider charges the following rates for telephone calls:

Rate Category

Charge

Daytime (6:00 a.m. through 5:59 p.m.)

Evening (6:00 p.m. through 11:59 p.m.)

Off-peak (12:00 a.m. through 5:59 a.m.)

$ 0.07

$ 0.12

$ 0.05

Create an application that allows the user to select a rate category (from a set of radio buttons) and enter the number of minutes of the call, then displays the charges. Include a  Clear button that clears the input and calculated values, and an  Exit button that closes the window. Error checking: the minutes input by the user must be numeric, and it must be greater than zero.

Use the following test data to determine if the application is calculating properly:

Rate Category and Minutes

Charge

Daytime, 20 minutes

Evening, 20 minutes

Off-peak, 20 minutes

$ 1.40

$2.40

$ 1.00

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT