编写一个C程序,输入abc三个值,输出其中最大值

2025-03-05 12:29:51
推荐回答(2个)
回答1:

#include
 void main()
 {
     int a,b,c,max;
     printf("Please input number:\n");
     scanf("%d,%d.%d",&a,&b,&c);
     max=a;
     if(b>=max)
         max=b;
     if(c>max)
         max=c;
     printf("The bigest number is \n",max);
 }

回答2:

cde