第2个回答 2008-11-18
#include<stdio.h>
void main()
{
int a,b,c,out;
scanf("%d%d%d",&a,&b,&c);
out=a;
if(b>out) out=b;
if(c>out) out=c;
printf("%d\n",out);
}
简单的写了下……
第3个回答 2008-11-18
<#include stdio.h>
<#include math.h>
void main()
{int temp;
scanf("%d",&a[i]);
temp = max(a[i]);
printf("the max number you put is %d/n",temp);
}
void max()
{
int a;
int b;
int c;
if(a > b){
c = a;}
else {
c = b;}
end if;
}本回答被网友采纳
第4个回答 2017-06-05
#include "stdio.h"
void main()
{
int a,b,c,max;
printf("a,b,c:");
scanf("%d %d %d",&a,&b,&c);
max=a;
if(max<b) max=b;
if(max<c) max=c;
//printf("a:%d,b:%d,c:%d\n",a,b,c);
printf("%d\n",max);
}