Write a program that uses an initializer list to store the following set of numbers in an array named nums. Then, print the array.
14 36 31 -2 11 -6
Sample Run
[14, 36, 31, -2, 11, -6]
