问题:35 个头,94 只脚,求鸡兔数量?
#include <stdio.h>int main(){int tou = 35 , jiao = 94 , ji , tu;tu = (jiao - (tou *2))/2;ji = tou - tu;printf("鸡:%d 兔:%d \n",ji,tu);return 0;}
时间:2022-02-26 04:34:06
问题:35 个头,94 只脚,求鸡兔数量?
#include <stdio.h>int main(){int tou = 35 , jiao = 94 , ji , tu;tu = (jiao - (tou *2))/2;ji = tou - tu;printf("鸡:%d 兔:%d \n",ji,tu);return 0;}