Skip to content
LearnLoop
← Software Engineering

Your first function

See it

A function is a recipe

  • You give it inputs.
  • It follows some steps.
  • It hands back an output with return.
Input
n = 4
Function
double
Output
8