Problem:
Question- How would write these functions?
Part 1- Write a function that accepts an array of cards and an integer (the size of the array) as arguments and prints each card in the array.
Part 2- Write a function that accepts an array of cards and an integer (the size of the array) as arguments and randomizes the array. The easiest way to randomize an array is probably to pick two random locations in the array and swap their contents. If you do this repeatedly the array will end up randimized. Note that to swap two elements of an array you need to copy on element to a temporary object, copy the second object to where the first one was, and then copy the temporary object to where the second object was in the array.
Write the code step by step and explain it.