daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  public static int analizaLiczby(int liczba, String cyfry) {
  2.      
  3.          String [] strArr = String.valueOf(liczba).split("");
  4.          
  5.          int counter = 0;
  6.          
  7.          for (int i = 0; i < srtArr.length; i++) {
  8.              if (cyfry.contains(strArr[i])) counter++;
  9.          }
  10.          return counter;
  11.      }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top