int big (int a, int b);
void hop (char ch, int num);
int main (void)
{
int a, b;
printf ("please input two number :");
printf ("if you want to quit,please enter q\n");
hop (SPACE, A);
while (scanf("%d,%d",&a,&b) == 2)
{
printf("%d\n",big (a,b)); //或者设一个数=big(a,b)
//也不可以写成这样 big (a,b); leser = min;这样错误的,因为主函数不认识第一个式子
printf ("please input two number :");
printf ("if you want to quit,please enter q\n");
}
return 0;
}
void hop (char, int)
{
int count;
for (count=1; count<=A; count++)
printf ("%c",A);
}
int main (void)
{
printf ("The maximum of %d and %d is %d.\n",
3, 5, imax(3)); //error 缺少一个数
printf ("The maximum of %d and %d is %d.\n",
3, 5, imax(3.0,5.0)); //类型不符
return 0;
}
int imax (n, m)
{
int n, m, max;
if (n