next up previous contents
Next: Solution Up: Procedures Previous: Solution

 

Simple example of a Function

Write a main program and an internal function that returns the sum of two real numbers supplied as arguments.

Go back to Notes gif




next up previous contents
Next: Solution Up: Procedures Previous: Solution

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.