25 lines
302 B
C++
25 lines
302 B
C++
|
/*
|
|||
|
* Espresso.hpp
|
|||
|
*
|
|||
|
* Created on: 1 нояб. 2021 г.
|
|||
|
* Author: alexander
|
|||
|
*/
|
|||
|
|
|||
|
#pragma once
|
|||
|
|
|||
|
#include "Beverage.hpp"
|
|||
|
|
|||
|
class Espresso: public Beverage
|
|||
|
{
|
|||
|
public:
|
|||
|
Espresso()
|
|||
|
{
|
|||
|
description = "Espresso";
|
|||
|
}
|
|||
|
|
|||
|
double cost() const override
|
|||
|
{
|
|||
|
return 1.99;
|
|||
|
}
|
|||
|
};
|