A cellular phone provider charges the following rates for telephone calls:

Rate Category Rate per Minute
Daytime (6:00 A . M . through 5:59 P . M .) $0.07
Evening (6:00 P . M . through 11:59 P . M .) $0.12
Off-Peak (12:00 A . M . through 5:59 A . M .) $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, and then displays the charges, as shown in Figure 8-41. Use the following test data to determine if the application is cal- culating properly:

Rate Category and Minutes Charge
Daytime, 20 minutes $1.40
Evening, 20 minutes $2.40
Off-peak, 20 minutes $1.00
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.