<reponame>kuwarkapur/Hacktoberfest-2022
height = float(input("Enter your height in centimeters (cms) "))

weight = float(input("Enter your weight in kg "))

height = height / 100

BMI = weight / (height ** 2)

print("Your Body Mass Index is ",BMI)

if BMI > 0:
    if BMI <= 16:
        print("You are severley underweight")

    elif BMI <= 18:
        print("You are underweight")

    elif BMI <= 25:
        print("You are Healthy")

    elif BMI <= 30:
        print("You are overweight")

    else:
        print("You are severley overweight")

else:
    print("Please enter correct values") 
height = float(input("Enter your height in centimeters (cms) "))

weight = float(input("Enter your weight in kg "))

height = height / 100

BMI = weight / (height ** 2)

print("Your Body Mass Index is ",BMI)

if BMI > 0:
    if BMI <= 16:
        print("You are severley underweight")

    elif BMI <= 18:
        print("You are underweight")

    elif BMI <= 25:
        print("You are Healthy")

    elif BMI <= 30:
        print("You are overweight")

    else:
        print("You are severley overweight")

else:
    print("Please enter correct values")