Skip to main content
Engineering LibreTexts

3: Functions

  • Page ID
  • In the context of programming, a function is a named sequence of statements that performs a computation. When you define a function, you specify the name and the sequence of statements. Later, you can “call” the function by name.

    • Was this article helpful?