• The best way to find out is to actually translate it to code and step through it (via debug).
  • You can try some examples of input and the expected output, and just step through your pseudo code a line at a time, and figure out if it's doing the right thing at every step... and if it gives the correct result. If not, you know either you have not followed the pseudo-code correctly, or the pseudo-code you've created is incorrect. Usually, when you see where it starts to go wrong, you will know what to do to fix it so that it is right.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy