Question: Write Java program that converts Pounds to Kilograms. The program prompts the user to enter Two numbers (Weight and Height): - The Weight will be

Write Java program that converts Pounds to Kilograms. The program prompts the user to enter Two numbers (Weight and Height): - The Weight will be entered in Pounds, and the Height in cm. - The program converts the Weight to Kilograms (Kg) . NOTE: [ 1 Pound = 0.453592 KG ] - The program checks if the user’s weight is normal according to the followingconditions: - If the Weight is greater than 100 Kg and the Height is less than 160 cm, display this message on the screen “You are Overweight!!”. - If the Weight is less than 40 Kg and the Height is greater than or equal to 160 cm, display this message on the screen “You are underweight !!”. - Otherwise, display this message on the screen “Your weight is normal”.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!