5.10 순서도 flowchart

공기훈·2021년 8월 22일
0

홍정모의 따배씨

목록 보기
23/49

순서도

{}를 block 혹은 compound statement라고 부른다.

#include <stdio.h>

int main()
{
    int i = 0;
    while (i < 10)
        //an example of compound statements
        //(block)
    {
        i++;
        printf("%d\n", i);
    }
	return 0;
}

이를 순서도로 나타내보면,

위와 같다.

profile
be a coding master

0개의 댓글