#include<stdio.h>
void main()
{ int a,b,imax; printf("input data to a and b= "); scanf("%d,%d",&a,&b); imax=a>b?a:b; printf("The max is %d\n",imax);
}
我这个程序怎么运行以后老是不对啊!
#include<stdio.h>
int main()
{ int a,b,imax; printf("input data to a and b= "); scanf("%d%d",&a,&b); imax=a>b?a:b; printf("The max is %d\n",imax); return 0 ;