Write a java program that can be used by the company to


Java Program

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.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write a java program that can be used by the company to
Reference No:- TGS02275478

Now Priced at $65 (50% Discount)

Recommended (96%)

Rated (4.8/5)