发布时间:2013-03-17 22:08:26
1,鸡兔同笼#include main(){ int total,feet,rabbit,chick; printf("input total:"); scanf("%d",&total); printf("input feet:"); scanf("%d",&feet); rabbit=(feet-2*total)/2; chick=2*total-feet/2; printf("total=%d,feet=%d,rabbit=%d,chick=%.........【阅读全文】
阅读(2092) | 评论(0) | 转发(0)