How Do I Do This Program In Java?

3. Phone Company. The telephone company has the following rate structure for long distance calls:
a. Any call started from 8 pm to 6 am is discounted 50%
b. Any call that lasts for more than 60 minutes gets an additional 25% discount.
c. All calls are subject to a 4% Federal Tax
d. The regular rate for a call is $0.10 per minute
Write a program to prompt for the starting and ending time of the phone call. Then calculate the gross cost of the call and display it with all of the itemized cost on the bill. Round all charges to the nearest penny.

Both comments and pings are currently closed.

Comments are closed.

Powered by WordPress | Designed by: free css template | Thanks to hostgator coupon and web hosting reviews