Write a program that initializes an integer array

Write a program that initializes an integer array a[20] with values {0, 1, 2, 3, ...18, 19 - once each} then scrambles them up and prints the values in random order.

For example: 19 2 3 8 11 1 4 17 7 15 9 0 16 12 18 13 5 6 10 14

 

 

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.