Advertisement
Guest User

GABEN

a guest
May 28th, 2015
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. import java.io.FileNotFoundException;
  2. import java.io.PrintWriter;
  3. import java.io.UnsupportedEncodingException;
  4.  
  5. public class JavaApplication1 {
  6. public static void main(String[] args) throws FileNotFoundException, UnsupportedEncodingException {
  7. String [] all={"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","T","U","V","W","X","Y","Z","1","2","3","4","5","6","7","8","9"};
  8. int counter=0;
  9. String [] char1 ={"B","D","E","F","H","K","L","M","N","P","R","W","1"};
  10. String [] char6 = {"Y","T","V","1","4","7"};
  11. String [] end=new String[6];
  12. String [] mid=new String[1089];
  13. String [] start=new String[429];
  14. PrintWriter writer = new PrintWriter("C:\\Users\\Default.Opt7010\\Desktop\\output.txt", "UTF-8");
  15. for(int k=0;k<char1.length;k++)
  16. for(int l=0;l<all.length;l++){
  17. start[counter]=all[l]+char1[k]+"JRZ";
  18. counter++;
  19. }
  20. counter=0;
  21. for(int k=0;k<all.length;k++)
  22. for(int l=0;l<all.length;l++){
  23. mid[counter]="75X"+all[l]+all[k];
  24. counter++;
  25. }
  26. counter=0;
  27. for(int k=0;k<char6.length;k++){
  28. end[counter]="INH5"+char6[k];
  29. counter++;
  30. }
  31. for(int k=0;k<end.length;k++)
  32. for(int l=0;l<mid.length;l++)
  33. for(int m=0;m<start.length;m++){
  34. writer.print(start[m]+"-"+mid[l]+"-"+end[k]+",");
  35. }
  36. writer.close();
  37. }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement