switch (1) 썸네일형 리스트형 [Day 12] Conditional Statement 2: switch - case In this class, I learned the conditional statement 'Switch' case. When setting conditions for an specific action, 'Switch' case complete the condition statement by directly specifying each condition. #include #include /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char *argv[]) { switch(value) { case value1: action1; break;.. 이전 1 다음