Loop an array using flow decsion


#1

Hi,

I am not sure if this is the right place but here is my question.
I am using a flow decision to loop through an array instead of for or while.
Is there anything wrong in this approach?


#2

My opinion

There is nothing wrong in using flowchart as loop, as a matter of fact it will be more organized if you have many conditions in your logic than using nested if in your while/foreach.But if you don’t have many conditions,it’s better to use while or foreach as the execution will be faster.


#3

is this the right forum to discuss certification questions?


#4

Please don’t post any certification qn from academy.
For additiong info please refer below.