#include "alcohol.h"
#include <iostream>

AlcoholicDrink::AlcoholicDrink(std::string _name, double _grossPrice, int _volume, double _degree, double _excise) : Article(_name, _grossPrice, 1.21)
{
  volume=_volume;
  degree=_degree;
  excise=_excise;
}


int AlcoholicDrink::getVolume()
{
  return volume;
}

double AlcoholicDrink::getNetPrice()
{
  return ((grossPrice + excise * degree * volume) * VAT);
}
