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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started