Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

More Books

Students also viewed these Databases questions

Question

Self-awareness is linked to the businesss results.

Answered: 1 week ago

Question

7-16 Compare Web 2.0 and Web 3.0.

Answered: 1 week ago