#include <stdio.h>
int main()
{
int One, Two, Three;
int max;
printf("3개의 정수를 입력하시오 : ");
scanf("%d %d %d", &One, &Two, &Three);
max = (One > Two) ? ((One > Three) ? One : Three) : ((Two > Three) ? Two : Three);
printf("최댓값 : %d\n", max);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: