Search:

Type: Posts; User: ppme

Search: Search took 0.13 seconds.

  1. Replies
    14
    Views
    3,978

    Re: Possible new forum suggestion

    Its a learning experience just doing it.. Just because you arnt top of the list does not mean you didnt learn something
  2. Replies
    6
    Views
    1,065

    Re: Numbers moving that shouldnt be

    Okay.. using printlns this part of my code NEVER executes

    Object checkHelp = board[row][col];
    String s = checkHelp.toString().trim();
    if(s.equals('1') ||s.equals('2') ||s.equals('3')...
  3. Replies
    6
    Views
    1,065

    Re: Numbers moving that shouldnt be

    Because this is a recursive method debugging with printlns is an extremely difficult thing to do as the console window just gets flooded with printlns, I was hoping someone else on here could...
  4. Replies
    6
    Views
    1,065

    Numbers moving that shouldnt be

    This code solves a Sudoku puzzle with no starting values perfectly..
    But if i then in some values to start with it moves them around to suit itself which cannot happen.
    Can anybody see the problem...
  5. Thread: Automatic Solver

    by ppme
    Replies
    3
    Views
    1,650

    Re: Automatic Solver

    Got it. Finally.
  6. Thread: Automatic Solver

    by ppme
    Replies
    3
    Views
    1,650

    Re: Automatic Solver

    Can anyone see why my output wont match the correct output
  7. Thread: Automatic Solver

    by ppme
    Replies
    3
    Views
    1,650

    Automatic Solver

    Between the 2 methods below it should solve a Sudoku puzzle automatically,
    Expected output is this : http://moritz.faui2k3.org/images/sudoku/default.png
    My output the same but only with the number...
  8. Re: Program to calculate pay and total sum with daily increment. Urgent!

    Your "amount" variable holds the amount paid on one particular day. So if you take this amount and minus 1 million form it.. the pay must be greater than 1 million if > 0 holds true.
  9. Replies
    14
    Views
    3,978

    Re: Possible new forum suggestion

    Yup, ill look into it soon :). I am also only new to this forum as you can see, just suggesting what I think will benefit the community .
  10. Replies
    14
    Views
    3,978

    Possible new forum suggestion

    Just a quick suggestion that maybe there could be a forum where members can set a challenge and other members can compete against each other to create the best code?

    For example, in my course we...
  11. Replies
    4
    Views
    2,874

    Re: Bank Account Program re-post

    Account Number 100001-10 belonging to Benjamin Franklin
    Initial balance = $1000.00
    After deposit of $500.00, balance = $1500.00
    After withdrawal of $1000.00, balance = $499.85


    The balance...
  12. Re: Program to calculate pay and total sum with daily increment. Urgent!

    total - 1mil > 0
    {
    tell users earned more than 1 mil
    }
    amount - 1mil >0
    {
    tell users more than 1 mil a day
    }
  13. Re: Program to calculate pay and total sum with daily increment. Urgent!

    New variable, "total"

    total += amount;
  14. Re: Program to calculate pay and total sum with daily increment. Urgent!

    jTextArea1.append( day + " " + pay.format(amount) + "\n"); Outside and Inside the loop! :) Sorry should of been more clear
  15. Re: Program to calculate pay and total sum with daily increment. Urgent!

    Making "day" a global variable and putting this line : jTextArea1.append( day + " " + pay.format(amount) + "\n");
    Before the for loop should also fix the problem.

    Or an if...
  16. Replies
    8
    Views
    21,416

    Re: Check Password Program

    Don't have the counter checker within the loop, because otherwise on the first char check, it checks the count <2 and finds it is false, then returns false, and the method terminates.

    I see you...
  17. Replies
    4
    Views
    1,411

    Re: Comparing a character to an array of strings

    .equals() not ==

    I think..
  18. Replies
    8
    Views
    21,416

    Re: Check Password Program

    I would add in a counter and use the isDigit() method and if there is less than 2 digits, return false.

    More than likely not the best solution.. I have 3 semesters of java over me in college so...
Results 1 to 18 of 18