#variable is wrong

1 messages · Page 1 of 1 (latest)

modern riverBOT
#

<@&987246399047479336> please have a look, thanks.

dusk elm
#

okay so the for loop with the 'k' checks every letter of the password

#

and if its there in the string strenght 1

tranquil mountain
#

I recommend placing some breakpoints to step through it.

slow tangle
#

is it not because at every iteration that you check substring you are setting STRONG to 2?

dusk elm
latent hound
#

no if you debug it by placing breakpoints you will get to know

#

can you send this program if possible

dusk elm
#

i will if i can

latent hound
#

is it a single file program?

dusk elm
#

yes

tranquil mountain
#

It's a short method, so just copy paste the text here using:

modern riverBOT
#

Please use this format for posting code:

```java
// Example java program
int value = 5;
System.out.println(value);
```

Which results in:

// Example java program
int value = 5;
System.out.println(value);

For syntax highlighting, you have to add the name of the language after the three backticks, like ```java. Please make sure to use exactly this format, so no space between the backticks and the language name, and a newline before the code starts. If done right, the syntax highlighting will even be applied to your text as you type, before sending.

latent hound
#

yes this will help

modern riverBOT
#

variable is wrong

#

Changed the title to variable is wrong.

solid oasis
#

and once u find your problem, have a look on regex

dusk elm
#

i solved itttt
!

#

how do i close

solid oasis