Skip to content

Commit

Permalink
Fixed some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hpopovici committed Jan 11, 2016
1 parent ead3047 commit cdb1140
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PassGen.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ public static void main(String[] args) {
int randomFinal = rand.nextInt((126 - 123) + 1) + 126;
finalPass += (char)randomFinal;
}
//if random number is a number
//if random number is a number
}else if (randomFirst==2){
int randomFinal = rand.nextInt((57 - 48) + 1) + 48;
finalPass += (char)randomFinal;
//if random number is a upper case letter
//if random number is a upper case letter
}else if (randomFirst==3){
int randomFinal = rand.nextInt((90 - 65) + 1) + 65;
finalPass += (char)randomFinal;
//if random number is a lower case letter
//if random number is a lower case letter
}else if (randomFirst==4){
int randomFinal = rand.nextInt((122 - 97) + 1) + 97;
finalPass += (char)randomFinal;
Expand Down

0 comments on commit cdb1140

Please sign in to comment.