MIPI_BaseC_WebinarFRTK/06_Lecture06/08_function_void_p22.c
2024-11-13 09:22:28 +03:00

17 lines
196 B
C

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