Pls include code to copy for cSolutioninclude uaing namespac
Solution
#include <iostream>
 uaing namespace std;
 struct card{
    string rank;
    string suit;
   
 };
 //shuffle cards
 void shuffleCards(struct card deck[52]){
    int temp1 = rand() % 52;
    int temp2 = rand() % 52;
    Struct card temp = deck[temp1];
    deck[temp1] = deck[temp2];
    deck[temp2] = temp;
 }
 //dealing hands
 void dealHands(string[] suit, string rank[]){
    int i=0;
    int totalHands=0;
    //reading input from user
    cout<<\"How many hands you want: \";
    cin>>totalHands;
   
    for(int i=0;i<totalHands;i++){
        int temp1 = rand() % 52;
        deck[i] = deck[temp1]
    }
 }
 int main(){
    // filling decl of cards
    struct card deck[52]; // deck of cards
    const string ranks[ ] = { \"Ace\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\",
 \"Nine\", \"Ten\", \"Jack\", \"Queen\", \"King\" };
    const string suits[ ] = { \"Diamonds\", \"Hearts\", \"Spades\", \"Clubs\" };
    int count = 0;
   for ( int i = 0; i < 13; i++)
    {
        for ( int j = 0; j < 4; j++)
        {
            deck[ count ].rank = ranks[ i ];
            deck[ count ].suit = suits[ j ];
            count++;
        }
    }
    return 0;
 }

