Question: Use NetBeans IDE as tool to write the Java code. Using Command - line as the proper interface to accept four user inputs as following:
Use NetBeans IDE as tool to write the Java code.
Using Commandline as the proper interface to accept four user inputs as following:
Note: You will need to declare variables to store user value
Enter user's name
Enter user's age
Enter user's weight either in kilograms or lbs
Enter user's height either in meters or inches
Once you have required inputs, calculate BMI Body Mass Index by using one of the following formulas:
Measurement units in kilograms kg and meters m:
BMI weightkg: heightm
Measurement units in pounds lb and inches in:
BMI weightlb: heightin x
Once you have BMI calculated, output the result as follows The output here is only representative:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
