[SOLVED] SOLVED:GUI BMI Calculator

20.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (7 votes)

Objectives Understand how to use the Java Foundation Classes (JFC) to create graphical user interfaces. Lab Assignment This lab assignment will ask you to write a program using the Java Foundation Classes. Exercise 1 Create a New Project named BMICalculator Create a GUI application where the user enters a height in feet and inches and a weight (three inputs) into text fields. The application should have a button that displays the user’s BMI when clicked. To calculate a person’s BMI, the formula is: BMI = (Weight in Pounds / (Height in inches x Height in inches ) ) x 703 Note: Body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women. According to the NIH, the categories for BMI are: Underweight = <18.5 Normal weight = 18.5–24.9 Overweight = 25–29.9 Obesity = BMI of 30 or greater Submit a document with the source code and sample output in Blackboard.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.