Question: Problem 5 - BMI Calculator ( 1 0 points ) Create a GUI program that will prompt the user for name, age, height, and weight.
Problem BMI Calculator points Create a GUI program that will prompt the user for name, age, height, and weight. When the user clicks the Calculate button the textboxes for BMI and Status are populated. Refer to image below. Class BMI.java has been provided. Refer to the LoanCalculator.java Ch example as a starting point. BMI.java has been provided.
Suggested steps:
Run LoanCalculator.java and review the code.
Add BMI.java to your project
Create BMICalculator.java as a JavaFX application
Create the GUI elements as static, labels, textboxes, button
Wire up the button so that when clicked the age, height, and weight textfields are read
Create BMI object from the numeric values.
Populate BMI textfield and Status textfield by invoking the appropriate methods on the BMI object.
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
