Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void TGlass::PourLiquid(double cc)
- {
- _amount =_amount + cc;
- }
- void TGlass::Drink(double cc)
- {
- _amount = _amount - cc;
- }
- double TGlass::GetRemaining()
- {
- return(_amount);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement