最多能喝多少瓶啤酒呢?

啤酒2元一瓶,四个瓶盖可换一瓶啤酒,2个空瓶也可换一瓶啤酒,10元最多能够喝几瓶? #include "stdafx.h" const int BOTTLE_COUNT_TO_A_BEER = 2; const int GAP_COUNT_TO_A_BEER = 4; const int PRICE_OF_A_BEER = 2; void get_beer_count(int& beer_co
相关文章
相关标签/搜索