Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Based Operations Java Script You are working as a software developer for a large insurance company. Your company is planning to migrate the existing systems

Based Operations

Java Script

You are working as a software developer for a large insurance company. Your company is planning to migrate the existing systems from Visual Basic to Java and this will require new calculations. You will be creating a program that calculates the insurance payment category based on the BMI score.

Your Java program should perform the following things:

1. Take the input from the user about the patient name, weight, birthdate, and height.

2. Calculate Body Mass Index.

3. Display person name and BMI Category.

a. If the BMI Score is less than 18.5, then underweight.

b. If the BMI Score is between 18.5-24.9, then Normal.

c. If the BMI score is between 25 to 29.9, then Overweight.

d. If the BMI score is greater than 29.9, then Obesity.

4. Calculate Insurance Payment Category based on BMI Category.

a. If underweight, then insurance payment category is low.

b. If Normal weight, then insurance payment category is low.

c. If Overweight, then insurance payment category is high.

d. If Obesity, then insurance payment category is highest.

5. Implement exception handling.

6. Store all the information in the file. You need to use the loop and keep asking users to enter patient name, height, weight, and birthdate. Your program should calculate BMI Category and Insurance payment category and write it to the file. Your program should stop once user enter q character.

PLEASE Provide an entire Java solution

PLEASE Provide An output screenshot created using Microsoft Word

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

Explain the importance of preliminary screening.

Answered: 1 week ago

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago