Question: 4) Create a function that calculates and returns the amount of alcohol consumed by a person (A), based on the number of drinks consumed (nb)

4) Create a function that calculates and returns the amount of alcohol consumed by a person (A), based on the number of drinks consumed (nb) and the alcohol content of a drink in grams (ca). (A -nb x ca) Note: Only the function that does what is described here is requested, not the complete program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
