-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPoker_Hand.cpp
More file actions
39 lines (30 loc) · 725 Bytes
/
Poker_Hand.cpp
File metadata and controls
39 lines (30 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include<iostream>
#include<vector>
using namespace std;
int main(){
char arr1[13]={'A','2','3','4','5','6','7','8','9','T','J','Q','K'};
char arr2[4]={'C','D','H','S'};
vector<string>arr;
int c=0;
for(int i=0;i<5;i++){
string s;
cin>>s;
arr.push_back(s);
}
for(int j=0;j<5;j++){
cout<<arr[j]<<endl;
}
// for(int i=0;i<5;i++){
// string temp=arr[i];
// for(int j=0;j<15;j++){
// if(temp[1]==arr1[j]){
// for(int h=0;h<4;h++){
// if(temp[2]==arr2[h]){
// c++;
// }
// }
// }
// }
// }
//cout<<c;
}