Pseudocode

Pseudocode is a technique used to lay out the idea behind a program. Generally it comes out similar to the actual code, but easier for a human to read. For this reason, it provides a good transition from a concept to hard code.

Example of a recursive Fibonacci Problem method in pseudocode:

fib(n):
    if n=0 or n=1:
        return 1
    else:
        return fib(n-1)+fib(n-2)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License