Long-Distance Calls
A long-distance 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 (midnight through 5:59 A.M.) $0.05
Write a GUI 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 into an Entry widget. An info dialog box should display the charge for the call.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.