Shuffle( ) & getCard(
) Functions Program in C++
1. Using your old programs create a new program that
calls a function which will store 52
random numbers in an array.
2. The numbers should range between 1 and 52.
3. Once a number is used, it cannot be repeated. In other words, as you fill up the
array, you can use each number between 1 and 52 only once.
4. Call this program YourLastNameShuffle.cpp (except use your last name)
5. Create a 2nd function called getCard( ), that takes the integer value from the array ( which
equates to a card in the deck), and prints out the cardŐs value and name. for example:
getCard(
array[x] ); // x == 27
Console
output: Ace of Diamonds