Flowchart with subroutine
- by Jordy
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?