19 lines
221 B
C
19 lines
221 B
C
#include <stdio.h>
|
|
|
|
int max (int a, int b);
|
|
|
|
int main()
|
|
{
|
|
int a,b;
|
|
scanf("%d%d",&a,&b);
|
|
printf("max = %d\n", max(a,b));
|
|
return 0;
|
|
}
|
|
|
|
int max (int a, int b)
|
|
{
|
|
if (a>b)
|
|
return a;
|
|
return b;
|
|
}
|