#include <stdio.h>
int main(void)
{
int x, y;
printf("두 정수를 입력하세요 : ");
scanf("%d %d", &x, &y);
printf("input = %d\n", x);
printf("input = %d\n", y);
printf((x == y) ? printf("같음"): printf("Smaller Number : %d ", (x > y) ? y : x));
return 0;
}
#include <stdio.h>
int main(void)
{
int x, y;
printf("두 정수를 입력하세요 : ");
scanf("%d %d", &x, &y);
printf("input = %d\n", x);
printf("input = %d\n", y);
printf((x == y) ? printf("같음"): printf("Smaller Number : %d ", (x > y) ? y : x));
return 0;
}