/************************************************** ** bridge.exe ** ** Please note that card rank 10 is defined as T ** **************************************************/ #include using namespace std; const int hand=13; const int deckSize=52; int shuffle(int a[ ]) { srand(time(NULL)); for(int l=0; l38) { clubs = clubs + convertRank(a[n]) + " "; } else if ((a[n]>12) && (a[n]<26)) { hearts = hearts + convertRank(a[n]) + " "; } else if ((a[n]>25) && (a[n]<39)) { diamonds = diamonds + convertRank(a[n]) + " "; } } cout << "\nSpades: " << spades << endl; cout << "Hearts: " << hearts << endl; cout << "Clubs: " << clubs << endl; cout << "Diamonds: " << diamonds << endl; } int count(int *a){ int total=0; for(int u=0; u