bazaba

Untitled

Oct 8th, 2025
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1. for(int i = 0; i < rankArray.length; i++){
  2.             int count1 = 0;
  3.             for(Card ranker : Cards){
  4.                 if(Cards.equals(rankArray)){
  5.                     count1++;
  6.                 }
  7.             }
  8.             for(int j = 0; j < suitArray.length; j++){
  9.                 int count2 = 0;
  10.                 for(Card suitor : Cards){
  11.                     if(Cards.equals(suitArray)){
  12.                         count2++;
  13.                     }
  14.                     System.out.println(count1 + " " + count2);
  15.                 }
  16.             }
  17.            
  18.            
  19.         }
Advertisement
Add Comment
Please, Sign In to add comment