回复 楼主 abyanxin
我是这样写的#include<stdio.h>
#include<stdlib.h>
void chuandi(void);
int main()
{printf("this program finds the largest integer in a list.\n"\
"enter 0 to signal the end of the list.\n");
chuandi();
}
void chuandi(void)
{int i,j;
for(j=0;;j++)
{scanf("%d",&i);
if(i!=0)
printf("%c\n",190);
else
{printf("%c\nprogramme is over",190);
break;}
}
}
就是想在数字后面显示一个符号