Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Managerial Accounting

Authors: Ray H. Garrison, Eric W. Noreen, Peter C. Brewer

13th Edition

978-0073379616, 73379611, 978-0697789938

More Books

Students also viewed these Accounting questions