Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 12 / task1 / Drinks / AlcoholDrink.h
blob: 89b2da3549b927e48a4ab269ebf9ea32dbc061ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "Drink.h"

class AlcoholDrink : public Drink 
{
	int alcoholPercentage;

public:
	AlcoholDrink();
	AlcoholDrink(const char* name, int ml, int alcoholPercentage);

	int getAlcoholPercentage() const;
	void setAlcoholPercentage(int alcoholPercentage);
};