C語言旅途之計算籠子裏面的雞兔數

Ⅰ、計算籠子裏面的雞兔數: ①、//代碼摘下直接可以運行 #include<stdio.h> int main() { int x,y,m,n,a=1; //a的設定是爲了判斷最後的是否需要輸出errro這個標記! printf(「Please input the feet and the number of head!\n」); scanf("%d %d",&m,&n); for(x=0;x<=
相關文章
相關標籤/搜索