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

 

Simple example of Subroutine

Write a main program and internal subroutine that returns, as its first argument, the sum of two real numbers.

Go back to Notes gif




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

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