伪码到流程图转换器?

时间:2014-03-09 14:51:41

标签: pseudocode flowchart

我正在寻找与此类似的东西:http://code2flow.com但离线并可用于Linux,或者可以在Wine上运行。

例如:

Call A;
if(A is not here) {
    Call B;
} else {
    while(A is here) {
        print A;
    }
}

这会产生一个漂亮的流程图:

enter image description here

1 个答案:

答案 0 :(得分:0)

DECLEAR Number AS INTEGER
                 FOR COUNT   1 TO 150
                 INPUT (“ENTER THE NUMBER:” NUMBER)
                 SUM = SUM + NUMBER
                 NEXT COUNT
                 PRINT (“The total is”, SUM)
                 AVG = SUM/10
                 PRINT (“Average is:”, AVG)