计算瓶酒的数量
摘要:public class SimpleConstructor{ //啤酒2元一瓶,四个瓶盖可换一瓶啤酒,2个空瓶也可换一瓶啤酒,10元最多可以喝多少瓶啤酒? static int beerPrice=2; //啤酒的价格 static int price=10; //10元 static int ...
阅读全文
posted @ 2015-10-29 16:21
我不清楚未来是怎样的,但我会努力改变现在。
posted @ 2015-10-29 16:21