100元钱买一百只鸡,公鸡5元,母鸡3元,小鸡三个1元,试编写一个C程序,给出该问题的解决方案。相关知识点: 试题来源: 解析 答: #include int main() { int cocks = 0,hens,chicken; while(cocks <= 19) { hens = 0; while(hens <=33) { chicken = 100-cocks-hens; if(5*cocks+3*hens+chicken/...