I am trying to figure out how return statements are represented in flowcharts. For example having the function:
int check(int x){
int y=2;
if(x>5) return x+1;
cout<<"small value"<<endl;
return y;
}
Is there a proper way to draw the return statements of the above function in a flow chart?