|
|
Enter the size of an array to create: 5
Creating array and filling it with random numbers...
Array = {,,,,96,,,,58,,,,9,,,,19,,,,6}
Press any key to continue . . .
|
Array = {96,58,9,19,6}
|
|
|
Array = {96,58,9,19,6} |
Array = {96,58,9,19,6,} |
|
|
|
|
Array = {96,58,9,19,6,6}
|
cout<< array[size-1] ; will just fill the Array with the last number.