• Home
  • Blog
  • Need to create a simple Java program that determines cost of insurance by including any additional person based on age…

Need to create a simple Java program that determines cost of insurance by including any additional person based on age…

0 comments

Need to create a simple Java program that determines cost of insurance by including any additional person based on age (thus questions regarding age and how many people apply to each category as far as age should be included). Baseline price is $1,000.00 per year per person plus an additional price based on the information below. Also, one other basic method other than main should be used.

Age Rate
16 to 19 ~Add 15% of basic price

20 to 25~Add 5% of basic price

Over 25~Discount 10% of basic price

Any other age~No insurance provided

Should be able to open with any compiler, would need the file to specifically be in java format (thus, must include .java extension). Class file included would be necessary to verify it runs, but mostly the java file to test with compiler.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}