mardi 29 novembre 2016

C++ ArraysWrite a program that creates an array of five random integer numbers and then displays the numbers

I'm in the beginning stages of learning how to program and I'm teaching myself.

Write a program that creates an array of five random integer numbers and then displays the numbers. The program should use an array declared as a global variable. Two functions voidArray and voidPrint

Initializes an array with random numbers between 1 and 1000 Print the of array

I'm really confused on how I would write code for the voidArray and main functions and the answer is not in my book.




Aucun commentaire:

Enregistrer un commentaire