Question: Objectives: Floating Point Units Perform Arithmetic calculations and comparison using floating Point values. Body Mass Indication helps us determine our overall health. If our BMI

Objectives: Floating Point Units
Perform Arithmetic calculations and comparison using floating Point values.
Body Mass Indication helps us determine our overall health. If our BMI is 30 or above studies
have shown that we are at risk for diabetes, heart disease and high blood pressure to name a
few. If it's below 18.5 our health risk is increased, and possible death may occur.
BMI is a measurement representing the ratio of a person's body weight to his or her height.
Write a MASM code that uses FPU to calculate the BMI for an adult, using the formula BMI=
weight/height ?2.
Then output the calculated value and the status based on the following ranges:
Adult BMI
Use irvine32 Library for your output. You can hardcode the input, and change the values to get
different status. Or you can get floating point input from the user using Irvine library functions.
Note:- Please give correct code as asked in above question and explain the code and also add your code output from Masm(Output screenshot)in your answer .
Objectives: Floating Point Units Perform

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 Programming Questions!