Else if flowchart

I am making a flowchart for an algorithm and come to some problem for the else if statement.

For an if statement like this

if (something) {}
else if (something) {}
else {}

What does an else if expression look like in a flowchart diagram?

+5
source share
4 answers

http://code2flow.com allows you to create such flowcharts from code.

enter image description here

You can click to change this.

+14
source

Here is the DRAKON :

if (case1) {outcome1}
else if (case2) {outcome2}
else {outcome3}

if and else if in DRAKON

Alternatively, it might look like this:

switch construct in DRAKON

See here: http://en.wikipedia.org/wiki/DRAKON

+4
source

if.

, , .

+1

-, .

if (case1) {outcome1}
else if (case2) {outcome2}
else {outcome3}

?

case1? yes → result1

no → case2? yes → result2

→ 3

0

All Articles