Question: Hello. This assignment is in Visual Basic and VB Studio 4.5 Framework. Details are below with a screenshot of an example runtime. Task: Create a

Hello. This assignment is in Visual Basic and VB Studio 4.5 Framework. Details are below with a screenshot of an example runtime.

Task: Create a simple BMI calculator to take in weight in lbs or kg and a height in m or in and produce a BMI number.

For Full Credit:

Program must be well documented and controls well named according to standards.

Your program MUST contain a separate class named Calculator.Your class must contain properties for height, weight, unit of height and unit of weight.

HINT: Use Double for your height and weight data type, not decimal

HINT: Use string for the the unit types

Your class MUST contain a public function that returns the BMI

Your class MUST contain one constructor to initialize the properties.

Weight and Height must be validated as numeric.

BMI MUST be displayed as xx.x format.

To convert Weight in LBS to KG use the formula: WEIGHT_KG = WEIGHT_LBS * .45

To convert Height in INCHES to M use the formula: HEIGHT_M = HEIGHT_IN * .025

To calculate BMI, use the formula: BMI = WEIGHT_KG / HEIGHT_M ^ 2

And heres a pic of the runtime

Hello. This assignment is in Visual Basic and VB Studio 4.5 Framework.

8MI Calculator Enter Vicight and Height Celculate Clear Ext Weight Height Cument BM

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!