Pseudocode

Pseudocode is a plain-language, informal description of an algorithm's steps. It is not real code and cannot run, but it helps plan logic before writing it.

General Programming

Because it ignores language-specific syntax, pseudocode lets you focus on the steps of a solution. Developers use it to design and explain algorithms clearly.

Examples

Pseudocode

SET total TO 0
FOR each price IN cart
    ADD price TO total
OUTPUT total

See also

Back to the Dictionary