编译无错,但运行出错
#include<stdio.h>int main()
{
int a,b,c;
scanf("%d,%d",a,b);
if (a>b)
c=a;
else c=b;
printf("%d",c);
return 0;
}
#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d,%d",&a,&b);
if (a>b)
c=a;
else c=b;
printf("%d",c);
return 0;
}
页:
[1]