Next: About this document ...
Up: Arrays as Arguments
Previous: Arrays as Arguments

Checkoff

Write two functions: one that takes an array containing 10 integers as an argument and returns the largest integer in the array as its result, and the other that takes an array containing 10 integers and returns the smallest integer in the array as its result. Write one main program to test out both your functions.

Be sure to save your program---you'll need it to check off the next lesson.

Homework

There is no homework with this lesson.


Next: About this document ...
Up: Arrays as Arguments
Previous: Arrays as Arguments

Hamlet Project
hamlet@cs.utah.edu