#include<stdio.h>
int max(int a,int b,int c);
int main()
{
int a,b,c;
while(scanf("%d %d %d",&a,&b,&c)!=EOF){
printf("%d\n",max(a,b,c));}
return ;
} int max(int a,int b,int c)
{
int m;
m=a;
if(b>m)
m=b;
if(c>m)
m=c;
return m;
}
2023-10-06 15:11:10
#include<stdio.h>
int max(int a,int b,int c);
int main()
{
int a,b,c;
while(scanf("%d %d %d",&a,&b,&c)!=EOF){
printf("%d\n",max(a,b,c));}
return ;
} int max(int a,int b,int c)
{
int m;
m=a;
if(b>m)
m=b;
if(c>m)
m=c;
return m;
}