2013年1月24日

100元100只鸡c#怎么计算,公鸡5元每只,母鸡3元一只,3只小鸡一元

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication2{ class Program { static void Main(string[] args) { //一只公鸡5元,一只母鸡3元,3只小鸡1元,100元买100只鸡,分别多少只鸡 int x = 0, y, z = 0; while (x < 100) { ... 阅读全文

posted @ 2013-01-24 20:44 PLAY_NET 阅读(342) 评论(0) 推荐(0)

导航