Question: 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
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
Get step-by-step solutions from verified subject matter experts
