else statement (1) 썸네일형 리스트형 [Day 11] Conditional Statement 1: if and else I learned the conditional statement including 'if' and 'else'. When setting conditions for an action, we can define the action by dividing it into 'if', 'elseif', and 'else' syntax. #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[]) { if (Condition 1) { Action 1; } else if (Condition 2) { Action .. 이전 1 다음