a) Write a procedure to insert 50 randomly generated numbers (between range 100 to 500) into an array “myArray”. For example X Random_INT(10,20) will generate a number between 10 and 20(inclusive) and assign it to variable X.
b) Write another function that takes in myArray as parameter and returns the sorted myArray as output.
Comments
Leave a comment