Assignment 4: Body Mass Index
Description
Body Mass Index (BMI) is an attempt to quantify the amount of tissue mass (muscle, fat, and bone) in an individual, and then categorize that person as underweight, normal weight, overweight, or obese based on that value. BMI is defined as the body mass divided by the square of the body height, and is universally expressed in units of kg/m2, resulting from mass in kilograms and height in metres.
Task
Create a program that accepts a user’s height and weight and displays their BMI. Allow the user to enter their height and weight.
Post a screen capture of your program being executed for several conversions.
Post a screen capture of the code.
Question
1) What is Integer Division? How do you avoid it?
using System; class CWL2{ static void Main(string[] arg){
} }