Ejemplo n.º 1
0
 public void Add(Alcohol item)
 {
     Value += (item.ml * (item.percent * 0.01) * 0.789);
 }
Ejemplo n.º 2
0
 public void Drink(Alcohol beer)
 {
     _Dranked.Add(beer);
     this.Promile.Value = (this._Dranked.Value / this._Reduction.Value) * 0.8;
 }
Ejemplo n.º 3
0
 public void Drink(Alcohol beer)
 {
     _Dranked.Add(beer);
     this.Promile.Value = (this._Dranked.Value / this._Reduction.Value) * 0.8;
 }
Ejemplo n.º 4
0
        }                                 //grams

        public void Add(Alcohol item)
        {
            Value += (item.ml * (item.percent * 0.01) * 0.789);
        }