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 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 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
weightheight
Then output the calculated value and the status based on the following ranges:
Adult BMI
Use irvine 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 asked above question and explain the code and also add your code output from Masm screenshot your answer
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
