I need help with my project
I need to create a password generator and checker and i need help to complete it. can you help me
14 Replies
$help
How to get the best help :catpog:
Make a post in #help or one of the topic channels under Development.
Avoid asking
:catthinking: Can anybody help me?
:catthinking: Has anyone used XYZ?
:catthinking: Why doesn't my code work?
C# is a big area! No one knows they can help unless you tell them about the small area you're trying to work in.
Explain what you are doing, and potentially why for as much context as possible. Avoid screenshots where possible, share code directly in Discord. Type
$code
into chat to learn how to post code.
See https://www.nohello.net and https://dontasktoask.com if you want common help chat room etiquette.$code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
For longer snippets, use: https://paste.mod.gg/BlazeBin - ucqrnogmkcjc
A tool for sharing your source code with the world!
You still haven't asked for help on anything specific. We're not gonna read through this, figure out what's broken, and write it for you.
i need help in for my qwerty thing like it doesnt work the way it supposed to and i cant find a way to fix it.
What is your qwerty thing? Show a relevant snippet of code and describe how it is supposed to function and how it is currently functioning.
so i need to it check qwerty for ever 3 digits and if its consecutive it loses 5 points so for qwerty it loses 20 points and I have no clue how to do that
I did the qwerty bit that checks for qwerty but i dont know how to make it check for the resy
rest
$codegif
ok, now show the code where you're doing those checks
wait
``` cs
public static bool nihoa(string passwords)
{
string qwewty = "1234567890qwertyuiopasdfghjklzxcvbnm";
bool qwerty = true;
for (int i = 0; i < passwords.Length - 2; i++)
{
for (int n = 0; n < qwewty.Length - 2; n++)
{
if (passwords.Substring(i, 3).ToLower() == qwewty.Substring(n, 3).ToLower())
{
qwerty = false;
break;
}
}
}
return qwerty;
}
Define "checks for qwerty" because I have no clue what that means
it looks and see if qwerty is in the password or not
like the qwerty Uk keyboards layout