Returns and pseudocode

I am using Barron’s to review and found a few pseudocode questions like this:

I am guessin this is incorrect… the return appears to be OUTSIDE of the procedure?
I have searched on the College Board and do NOT see it like this ever and I know code does not work like this… just wanted to make sure.

Yeah, return definitely needs to be inside the procedure. Good catch!