Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use method. Write a Java program that ask the user to input the customer ID, Salary and chronic disease status and create a void Method

use method. image text in transcribed
Write a Java program that ask the user to input the customer ID, Salary and chronic disease status and create a void Method that specify the Medical Insurance policy according to the following table Chronic_Disease Salary range Policy cost False True False True BD 100-500 BD 100-500 BD500+ BD500+ Medical insurance policy Basic Basicc Premium Premium 5 per month 10 per month 10 per month 20 per month The input and output should be as follows Enter the Customer ID: 123 Enter the Customer Salary: 550 Does the customer have chronic dieasea (true, false): true The customer 123 medical insurance is Premium It will costs BD20 per month ...Program finished with exit code 0 Press ENTER to exit console

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions