Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i = 0; i < rankArray.length; i++){
- int count1 = 0;
- for(Card ranker : Cards){
- if(Cards.equals(rankArray)){
- count1++;
- }
- }
- for(int j = 0; j < suitArray.length; j++){
- int count2 = 0;
- for(Card suitor : Cards){
- if(Cards.equals(suitArray)){
- count2++;
- }
- System.out.println(count1 + " " + count2);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment