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<=
相关文章
相关标签/搜索