Then print out a three column table displaying the contents of the arrays X, Y and Z, followed by a count of the number of elements of X that exceed Y, and a count of the number of elements of X that are less than Y. Make up your own test data.
Declare your arrays to be of a size greater than you will require, (larger than N).
Back to Main Page for Lecture 5 |