Flowchart with subroutine

Posted by Jordy on Programmers See other posts from Programmers or by Jordy
Published on 2013-06-26T09:42:24Z Indexed on 2013/06/26 10:27 UTC
Read the original article Hit count: 190

Filed under:

I am not really sure how to correctly describe my question, so please forgive me if this is a duplicate. I am creating a flowchart for my program where I implement a method. Let's assume I call this method someMethod.

The C code could look something like this:

bool someMethod(int Foo, int Bar)
{
    foo += 5;
    bar -= 5;
    return (foo == bar);
}

This means that my flowchart will have a subroutine block where I call this function. But how do I correctly show the reader which integers I pass?

And when I create the flowchart of "someMethod", I face a similar problem: how do I correctly show the reader that Foo and Bar are passed parameters?

© Programmers or respective owner

Related posts about flowchart