Skip to content

CenturyHSProgramming/bmi-calculator-challenge-HundredVisionsGuy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMICalculator.py

A Python 3 Math challenge using unit tests. Your job is to write a function in BMICalculator.py (call it calculateBMI() that calculates a user's BMI (according to http://flightphysical.com/medical-exam/weight)

Inputs:

  • calculateBMI() receives two inputs (both integers):
    • receives total inches as an integer
    • receives weight as an integer

Outputs:

  • calculateBMI() returns 1 output (an integer):
    • this is the BMI value

Examples: inputs => output/s

  • 62 120 => 22
  • 60 123 => 24
  • 76 197 => 24
  • 64 157 => 27
  • 59 143 => 29
  • 61 222 => 42
  • 58 91 => 19
  • 70 146 => 21
  • 70 271 => 39
  • 58 258 => 54

About

bmi-calculator-challenge-HundredVisionsGuy created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages