Can't finish my Passcode project using Java. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Can't finish my Passcode project using Java.

What should i fix on my codes? It keeps saying Success even though my preffered passcode is 2214. I must show that the 2214 is the correct passcode while the rest is Wrong.

22nd Nov 2021, 2:34 AM
Kengie Aldabon
Kengie Aldabon - avatar
2 Answers
+ 3
You can search Code Playground using 'passcode' search term. I see many people had tried to solve it. You can learn from their codes 👍
22nd Nov 2021, 2:44 AM
Ipang
+ 1
Kengie Aldabon according to my ouiji board you have a typo in line 4, but my tarot cards say there's a logic error in line 6 of your code. Might be easier to just show your code, so people can actually take a look.
22nd Nov 2021, 6:01 PM
Simon Sauter
Simon Sauter - avatar