Question: Write a Java FX program ( try to apply all you have learned in class - be creative ) that calculates the blood alcohol content

Write a Java FX program (try to apply all you have learned in class - be creative) that calculates the blood alcohol content of someone drinking Jagerbombs. Assume that there are 0.55 ounces of alcohol in one Jagerbomb. Pick values of your own choosing for the number of drinks and the weight. Also indicate in the output whether or not the person would be legally intoxicated based on the chart posted below.
Note: The following formula gives a rough estimate of your blood alcohol content (BAC) doesnt include your metabolism, time spent drinking, gender differences, etc. and is derived from formulas posted by the National Highway Traffic safety administration:
BAC =(4.136 x numDrinks x ouncesAlcohol)/(weight)
numDrinks is the number of drinks ingested.
ouncesAlcohol is the number of ounces of alcohol per drink.
weight is the weight of the drinker in pounds.
 Write a Java FX program (try to apply all you have

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!