int a = 10;
int test = a <= 10 ? a*100 : a;
a<=10의 조건을 충족하면 a*100을 반환해서 int test에 들어간다.
a<=10의 조건을 불충족하면 a를 반환해서 int test에 들어간다.