How to draw a Control Flow Graph from this code?

后端 未结 3 844
独厮守ぢ
独厮守ぢ 2021-02-04 19:15
int main() {
    int i, grade = 0;
    printf (\" Enter points: \\n\");
    scanf (\"%d\", &i);
    if (i >= 50 && i <= 60) grade = 5;
    else if (i &         


        
3条回答
  •  别那么骄傲
    2021-02-04 19:55

    If we should explain a flow diagram so why we draw it? the diagram must be so clear.

    there are lots of online tools that you can type your code and that will give you this like diagram. you can check this.

提交回复
热议问题