C语言填空题1程序填空,不要改变与输入输出有关的语句.输入一个正整数 repeat (0

问题描述:

C语言填空题1
程序填空,不要改变与输入输出有关的语句.
输入一个正整数 repeat (0
1个回答 分类:综合 2014-11-03

问题解答:

我来补答
#include
#include
int main(void)
{
char sx[80],longest[80];
int i,n;
int repeat,ri;
scanf("%d",&repeat);
for(ri = 1; ri = strlen(longest) ) strcpy(longest,sx);
scanf("%s",sx);}
printf("The longest is:%s\n",longest);
}
}
 
 
展开全文阅读
剩余:2000
上一页:一道物理提题
也许感兴趣的知识