Edit: that was my mistake. i placed the codes in wrong line. i solved it by myself already. thanks for viewing.

Recommended Answers

All 3 Replies

Take 62 to 73 out of the loop so they won't display for each character you are checking.

i am actually trying to figure out how to display the sentences properly. can you please tell me how to do it?

EDIT: i solved it by myself already i just placed line 62 to 73 after the loop , thank you anyway

Sorry, perhaps I wasn't clear, my fault. Move them out of the for loop and into the main body of the ValidPassword() function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.