Question
This is in JAVA I'm sorry I didn't clarify that. I ne/ed help on this particular part fo/r this section. i need to imp/lement a
This is in JAVA I'm sorry I didn't clarify that.
I ne/ed help on this particular part fo/r this section. i need to imp/lement a CommissionCalculator class that has a single Auto, Home, and Life insurance policy . also to make each object in the CommissionCalculator constructor and write a method n/amed Run that prompts the user for information and com/putes commission and prints each policy using the menu below. Write a driver cla/ss that simply creates and runs a CommissionCalculator object.
-----------------------------
Hello and welcome to insurance
-----------------------------
Enter any of the following:
1) Enter auto insurance policy information
2) Enter home insurance policy information
3) Enter life insurance policy information
4) Compute commission and print auto policy
5) Compute commission and print home policy
6) Compute commission and print life policy
7) Quit
Auto insura/nce policy
Policy information includes: - name of insured - make and model of automobile - amount of liability coverage in dollars - amount of collision coverage in dollars Sales commission is based on the formula:
commission = (liability + collision) * 30%
Home insu/rance policy
Policy information includes: - name of insured - house square footage - amount of dwelling coverage in dollars - amount of contents coverage in dollars - amount of liability coverage in dollars Sales commission is based on the formula: commission = (liability * 30%) + ( (dwelling + contents) * 20% )
Life insurance policy
Policy information includes: - name of insured - age of insured - amount of term life coverage in dollars Sales commission is based on the following formula: commission = term life * 20%
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started