Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TGlass
- {
- public:
- TGlass(double Capacity);
- void PourLiquid(double v);
- void Drink(double b);
- double GetRemaining();
- private:
- int AmountX;
- int AmountY;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement