10 2015 档案

计算瓶酒的数量
摘要:public class SimpleConstructor{ //啤酒2元一瓶,四个瓶盖可换一瓶啤酒,2个空瓶也可换一瓶啤酒,10元最多可以喝多少瓶啤酒? static int beerPrice=2; //啤酒的价格 static int price=10; //10元 static int ... 阅读全文

posted @ 2015-10-29 16:21 Ironape 阅读(351) 评论(0) 推荐(0)

导航