C语言:输入3个数输出其中最大的数
C语言:输入3个数输出其中最大的数
日期:2016-06-17 22:16:32 人气:1
我感觉至少是这个样子~
C语言stdio.h里面没有max的函数~
#include
int max(int x,int y,int z); //函数声明
int main()
{
int a,b,c,m;
scanf("%d %d %d",&a,&b,&c);
m=max(a,b,c);
printf("max= &d",m);
return 0;
}
int max(in