
Answer:
Explanation:
a) sturct card{
   string suit;
   string rank;
 }
b) function perfectShuffle(card deck[]){
   card newDeck[52];
   int j=1;
   for(int i=1; i<=26; i++){
     newDeck[j] = deck[i]
     newDeck[j+1] = deck[i+26]
     j=j+2;
   }
   return newDeck;
 }
c) Â function numOfPerfectShuffle(card deck[]){
   card newDeck[52];
   int count=0;
   while(newDeck!=deck[] && count>0){
     newDeck = perfectSuffle(deck);
     count++;
   }
 }