언어/C언어

[C언어] 3일차 -1 할일 / if / switch / for / while / do ~ while

antoroong 2025. 2. 9. 21:36

조건문

  1. if
  2. switch

반복문

  1. for
  2. while
  3. do ~ while

 

if(조건문){

참일 때 실행하는 구문

} else {

거짓일 때 실행하는 구문

}