컴퓨터/C

C 반복문

sayyesdoit 2022. 8. 30. 04:48

1. while 문

while(조건) {}

2. do ~ while 문

do {} while(조건);

3. for 문

for(초기; 조건; 증감) {}