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

21 lines
219 B
C

#include <stdio.h>
int max (int, int);
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;
}