Write a program in C++ that gives a prompt to the users, asking for an integer M.It then prints out a M different random permutations, one on each of M lines, of the numbers 1, 2, ... , 10, separated by spaces or tabs.
You need to accept an input from the user (eg 1, 2, 3, 4, ... , M) and then output M-rows. Each row will contain the numbers 1-10 in a random order