USING C++<br/><img src="https://media.cheggcdn.com/media%2Fcbf%2Fcbff2744-aa73-4842-b002-bab46c326939%2Fimage.png" alt="Exercise #2 : Swap the Array Write a program that generates N random numbers in the range [31, 311] inclusive and save them in an array, prints