calculate Bill program, JAVA Programming

Notice that each row now has the type of customer and the additional data needed.

calculateBill remains the same in Customer.  However, the calculateBill in Corporate will add additional taxes of 2.5% to the annual premium if the corporate type is PROFIT.  The calculateBill in Consumer will add 8% to the annual premium if it is under $200.00.

Printout should be the same.

Name               Type                      Policy Type               Annual Premium

Jones               Consumer        AUTO                         $341.25

Smith               Consumer        LIFE                           $189.81

Hanover          Corporate         HOME                           $1,080.00

Kincaid           Corporate        AUTO                              $592.48

Sierra              Consumer        LIFE                              $212.60

Total Premiums Due                                                $2,416.14

 

 

Posted Date: 2/21/2013 6:23:18 AM | Location : United States







Related Discussions:- calculate Bill program, Assignment Help, Ask Question on calculate Bill program, Get Answer, Expert's Help, calculate Bill program Discussions

Write discussion on calculate Bill program
Your posts are moderated
Related Questions
Develop a code for fibonacci series

Your task is to design a scheduler for the Sheridan Rail Corporation which keeps track of all daily scheduled trips for the railway.  Users can add new trips as well as perform sea

What is Constraints explain with example? One of the purposes to use constructors and setter techniques rather than directly accessing fields is to enforce constraints. For exa

What is meant by semantic error? Occur while a statement executes and has an effect not intended through the programmer and Frequently times occur only in unusual & infrequent

Universal Android and iOS, Multipurpose Testing Application - Based on Phonegap Project Description: Universal Android and iOS, Multipurpose Testing Application Based on Phon

Explain the Member Access Separator ? class Car { String licensePlate; // e.g. "New York 543 A23" double speed; // in kilometers per hour double maxSpeed; // in

Java is increasingly used for middleware applications to communicate among Server and clients. Java has features like multithreading, portability and networking capabilities. Chang

Explain traversing through a collector using Iterator. Ans. We can access each element in Collection by using Iterators regardless of how they are organized in collector. Ite

What is the purpose to use the enableEvents() method?