The first three lines of the method should look like this:
//PA check
public static boolean checkUserPA(String user_pa){
int length;
char [] chr = user_pa.toCharArray();...
Type: Posts; User: Norm
The first three lines of the method should look like this:
//PA check
public static boolean checkUserPA(String user_pa){
int length;
char [] chr = user_pa.toCharArray();...
Most of the code posted on the forum ends up being properly formatted. Look at some of the other threads
or look at the code in the tutorial:
The Really Big Index
Code Conventions for the Java...
Pleae edit the post and fix the formatting for the code. The indentations are all messed up making it very hard to read and understand the code.
Please explain what your problem is. What does the code do now? What is wrong with what it does?
Post the input and output and add some comments describing what is wrong.
Please edit your post...