# Compute the user's body-mass index

# Initial part: get user to enter data
print ('Enter your height.')
reply = raw_input('Feet: ')  # assigns a string to reply
feet = int(reply) # assigns an integer to feet
reply = raw_input('Inches: ')
inches = int(reply)
print ('Enter your weight: ')
reply = raw_input('Pounds: ')
pounds = int(reply)

# Second part: do computation.
inches = (feet*12) + inches
bmi = (pounds*703) / (inches*inches)

# Last part: give output back to user
print 'Your body mass index is',bmi
if bmi >= 25:
    # either this line is printed...
    print 'You are a little overweight.'
else:
    # or this one.
    print 'You are not overweight.'

raw_input('Press enter to exit.')





