USING C++![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 the array, swaps the array, and prints the swapped array. Sample input/ output: Enter the array size: 1e The 10 generated numbers are: 226 141 200 139 102 233 38 128 158 37 The 10 swapped numbers are: 37 158 128 38 233 102 139 200 141 226](https://media.cheggcdn.com/media%2Fcbf%2Fcbff2744-aa73-4842-b002-bab46c326939%2Fimage.png)
Exercise #2 : Swap the Array Write a program that generates N random numbers in the range [31, 311] inclusive
OR
PayPal Gateway not configured
OR
PayPal Gateway not configured
USING C++![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 the array, swaps the array, and prints the swapped array. Sample input/ output: Enter the array size: 1e The 10 generated numbers are: 226 141 200 139 102 233 38 128 158 37 The 10 swapped numbers are: 37 158 128 38 233 102 139 200 141 226](https://media.cheggcdn.com/media%2Fcbf%2Fcbff2744-aa73-4842-b002-bab46c326939%2Fimage.png)
Exercise #2 : Swap the Array Write a program that generates N random numbers in the range [31, 311] inclusive
PayPal Gateway not configured
PayPal Gateway not configured