I have a program that takes an array of numbers A, and shuffles them and saves that value into array B.
I need to find how many steps it would take to return the shuffled numbers to their original conditions.
but I am unsure of how to compare array A to array B
I tried writing a program that returns yes or no depending if the arrays have the same elements but it does not work.
constint i = 5;
you know u just need to put those const int within the square braces ONLY for the declaration of arrays... aftr that in the above code i posted(from ur program!) u can just put int i=5, just in case u needed to change the value of i in the program... as it represents index, it can change in the program!