Quote Originally Posted by jacksparrow View Post
i edit the code ,,, why no one try to help me out in the answer... i thought it gonna be easy for the professionals
Now go back and use proper indentation and line up the braces. Once you do that, your biggest initial problem should be obvious.

Also, to get help, you need to be more specific than just saying it doesn't work. If there are compiler errors list them and tell us what line of code they're on.