daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class CharCount {
  2.    public static void main(String[] args){
  3.       int[] count = new int[256];
  4.       char[] arr = new char[256];
  5.       for (int i = 0; i < args[0].length; i++){
  6.          char c = args[0].charAt(i)
  7.          
  8.          for (int j = 0; j < 256; j++){
  9.             if (arr[j] == c)
  10.                j = 256;
  11.                }
  12.            
  13.    
  14.    }
  15. }
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