samedi 13 mai 2017

Initializes an array by a given size in random values ​between 1 and 500 in c

I have assignment to write program that sort an array and search for a specific number, that part I've already done, My problem is how to Initialize the array in the size that the user sets with random values ​​smaller than 500? I know how to do that with known size but not with unknown size?




Aucun commentaire:

Enregistrer un commentaire