subject

ST Insurance Brokers, Inc. needs your help to create a program to calculate the total cost of insurance policies issued by its brokers. Write a small Java program that prompts the user for a type of insurance policy and then determines the total policy cost. The company currently supports only three types of insurance policies: Apartment, Auto, and Condo. When a user enters a different type of insurance policy, they should be told the program does not support that type of insurance policy at this time. Use the information below to determine total policy cost: Apartment - Has a base cost of $300.00 with the option to purchase premium protection for an additional $175.00 Auto - Has a base cost of $200.00 Condo - Has a base cost of $300.00 with the option to purchase premium protection for an additional $175.00 The example run below shows how the program would run. Note, user input is denoted in orange. Example run #1 What type of insurance do you need? Apartment Would you like premium protection? yes The Apartment insurance you selected costs $475.00. Example run #2 What type of insurance do you need? Auto The Auto insurance you selected costs $200.00. Example run #3 What type of insurance do you n

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:40
Match the personality traits with their description
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
You receive an email from an impressive-sounding stranger, professor alexander rothschild renard iii, president of the american institute for scientific political statesmen. he urges you to vote for his presidential candidate choice. this social media red flag is known as
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior to sending the first ping request
Answers: 1
You know the right answer?
ST Insurance Brokers, Inc. needs your help to create a program to calculate the total cost of insura...
Questions
question
Mathematics, 19.09.2019 11:20
question
Mathematics, 19.09.2019 11:20
Questions on the website: 13722360