apple6316   6년 전

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

intput (10 20 30)

output(20)

intput(30 30 10)

output(30)

djm03178   6년 전

직접 3개 중에 중간값을 골라야 한다면 어떤 논리적인 절차를 통해 고르게 되는지 차근차근 따져봅시다.

댓글을 작성하려면 로그인해야 합니다.