# Search:

Type: Posts; User: ppme

1. ## Thread: Possible new forum suggestion

by ppme
Replies
14
Views
2,446

### 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. ## Thread: Numbers moving that shouldnt be

by ppme
Replies
6
Views
435

### 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. ## Thread: Numbers moving that shouldnt be

by ppme
Replies
6
Views
435

### 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. ## Thread: Numbers moving that shouldnt be

by ppme
Replies
6
Views
435

### 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...

by ppme
Replies
3
Views
682

### Re: Automatic Solver

Got it. Finally.

by ppme
Replies
3
Views
682

### Re: Automatic Solver

Can anyone see why my output wont match the correct output

by ppme
Replies
3
Views
682

### 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. ## Thread: Program to calculate pay and total sum with daily increment. Urgent!

by ppme
Replies
11
Views
2,083

### 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. ## Thread: Possible new forum suggestion

by ppme
Replies
14
Views
2,446

### 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. ## Thread: Possible new forum suggestion

by ppme
Replies
14
Views
2,446

### 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. ## Thread: Bank Account Program re-post

by ppme
Replies
4
Views
1,631

### 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. ## Thread: Program to calculate pay and total sum with daily increment. Urgent!

by ppme
Replies
11
Views
2,083

### 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. ## Thread: Program to calculate pay and total sum with daily increment. Urgent!

by ppme
Replies
11
Views
2,083

### Re: Program to calculate pay and total sum with daily increment. Urgent!

New variable, "total"

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

by ppme
Replies
11
Views
2,083

### 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. ## Thread: Program to calculate pay and total sum with daily increment. Urgent!

by ppme
Replies
11
Views
2,083

### 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...

by ppme
Replies
8
Views
17,233

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. ## Thread: Comparing a character to an array of strings

by ppme
Replies
4
Views
579

### Re: Comparing a character to an array of strings

.equals() not ==

I think..