int a =0;
 scanf("%d", &a);

 if( a & 2 )
 {
  printf("홀수");
 }
 else
 {
  printf("짝수");
 }




이전엔 됬던거 같았는데



잘못된거 좀 가르쳐 주세요...ㅠㅠ