int main(). { enum color {black, blue, red, yellow, white}; enum color col; scanf("%d",&col); switch(col). { case black: printf("black\n"); break;.
確定! 回上一頁