Description
a. Write a program that uses a random number generator to
generate 15 three-digit integers
b. Store the random numbers in a vector
c. Sort the random numbers
d. Reverse the digits of the random numbers
e. Store the reversed digits in another vector
f. Sum the digits of the random numbers
g. Store the sums in another vector
h. Print all three vectors
Notes:
The reverse of 900 is 009 (not just 9)
Associate the sums with the random numbers (for example: the
output should look like – sum of the digits of 192 is 12)
Work with a partner