Answer

  1. The keyword SUBROUTINE is used instead of FUNCTION.

  2. No return type is given, since nothing is returned from a subroutine.

  3. Nowhere in the body do we assign a return value to the subroutine name.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu