Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
// Function Declaration
//This is how the function is named, its return type and parameters defined.

int addFive (int paramaterName) 
{
	Returnreturn paramaterName + 5;
}

// Function call
// this is how we execute a function 
// functionName(parameter);

println( addFive(3) ); 

...