previous | start | next

## From Pseudocode to Code

- Pseudocode can be easier to understand than a verbal description.
- It's best not to muddy the pseudocode with minor details.
- The pseudocode did not take into account spaces between the words.
- Note that the helper functions needed to be declared before the `int_name` function.
- The `int_name` function calls itself (called recursion):

  >     if (c >= 1000)
  >     {
  >        r = int_name(c / 1000) + " thousand";
  >        c = c % 1000;
  >     }

previous | start | next