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

 

Simple External ProcedurE

Write a program that fills an array of a user specified size with random real numbers (in the range 0 - 1). This program should then call an EXTERNAL procedure which reports on the frequency of numbers less than 0.5 in this array. Use assumed-shape arrays in the procedure. [You may find the COUNT intrinsic useful in this question.]

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.