hello,
I have problem with plus. i couldnt get right total number!
And also I ld to know how to store all list of total number. coz i ld to compare them wh is biggest and smallest.
int n = 0;
cin>>n;
//vector<int> v;
//int scores[n];
for ( i = 0; i < 3*n; ) {
cout << "Hand #" << n<< '\n';
for ( int j = 0; i < 52 && j < 3; i++, j++ ){
cout << deck[i].suit << deck[i].face <<" ";
deck[i].value++;
}
cout<<deck[i].value<<endl<<endl;
}
sample:
S5 HK H6 total 6 //K worth 11,:surprised