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

如题所述

第1个回答  2016-09-15
#include<stdio.h>
 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个回答  2016-09-15
cde
相似回答