Guest User

Untitled

a guest
Apr 13th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1.  
  2. public class Calc {
  3.  
  4.     /**
  5.      * @param args
  6.      */
  7.     public static void main(String[] args) {
  8.        
  9.         int usernames, passwords;
  10.        
  11.         usernames = 4;
  12.         passwords = 4;
  13.         System.out.println("Total tries: " + usernames * passwords);
  14.        
  15.         String userlist[] = {"censor", "censor", "censor", "censor"};
  16.         String passlist[] = {"censor","censor","censor","censor","censor","censor","censor"};
  17.        
  18.         for (int i=0; i<userlist.length; i++) {
  19.             for (int ii=0; ii<passlist.length;ii++) {
  20.                 System.out.println("Username: " + userlist[i] + " Password: " + passlist[ii]);
  21.             }
  22.         }
  23.  
  24.     }
  25.  
  26. }
Add Comment
Please, Sign In to add comment