BMI Calculator

Problem Statement

Write a program that computes the body mass index (BMI) for a person given the person's height and weight.

Body mass index is calculated as follows:

BMI = (weight in kilograms) / (height in meters)^2

Problem Solution