MIPI_BaseC_WebinarFRTK/17_Seminar04/01_min_p6.c
2024-11-13 09:22:28 +03:00

12 lines
181 B
C

#include <stdio.h>
int main(void)
{
int a=-1, b=-1;
scanf("%d%d", &a, &b);
int min = (a < b) ? a : b;
printf ("min = %d a=%d b=%d\n", min , a, b);
return 0;
}