Skip to content

This application is used to calculate the Blood Alcohol Container based on a formula.For more details see README file.

Notifications You must be signed in to change notification settings

vastavch/BAC_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

BAC_Calculator

  1. This application is used to calculate the Blood Alcohol Container(BAC) based on a formula.For more details see README file.
  2. BAC is calculated based on the formula ( (A * 5.14) / (weight * r) where, A = liquid ounces of alcohol consumed = ounces * alcohol percentage weight = weight in pounds r = a gender constant of alcohol distribution(0.73 for men and 0.66 for women)
  3. In order to calculate the BAC,you need to enter weight in pounds and select gender(by toggling switch) and click "SAVE" button.
  4. Then enter quantity of alcohol in ounces and alcohol percentage by dragging seek bar(it increements by 5 to a maximum of 25)
  5. Then click "ADD DRINK" button and check BAC and status.
  6. When you reach maximum BAC,the functionalities of application stops working except for the "RESET",which means you cannot consume alcohol anymore.
  7. Clicking "RESET" button would allow reset the application values to default values.
  8. When ever weight or gender is changed and "SAVE" button is clicked,the existing BAC is recalculated on the new values.

About

This application is used to calculate the Blood Alcohol Container based on a formula.For more details see README file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages