Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

short java program needed in 2 hours

Question

A certain mobile phone company charges its customers using per second billing. The tariff used is post paid. The following rules are used in the billing procedure.

(a)    Any call made after 6.00 a.m. to 6.00 p.m. is charged Kshs 4.00 per minute.

(b)   Any call made after 6.00 p.m. to 6.00 a.m. is charged Kshs 3.00 per minute.

(c)    In addition to the above charges one also pays 16% Vat for calls taking longer than one minute.

Required

Write an object oriented Java program that can be used by the company to bill its customers. The program should use system clock. One should not enter start time and end time. This should be captured automatically when the call starts and ends.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question