Pseudocode can almost be classified as half-code, half-text. Even as its name implies, it is semi-code. It is used by a programmer to outline the algorithms he or she has written, before they are actually translated into code. It is almost a high-level abstraction of code. For the most part, an algorithm to perform the same task in multiple programming languages is the same. The following is an example of pseudocode to ask the computer to input two numbers, and then print out their sum:
C = A + B
Pseudocode can also be used to interact between functions. By writing our your algorithm in such a way, not only can you easily convert it to any language you choose. It is also much easier to debug (fix) logic errors. Logic errors are those where the entire process being used from point A to point B is not rational or it doesn't work. Using pseudocode to pass variables in and out of functions can enormously help you, especially by using it as a reference guide when writing the code, itself.