Hi, can you help me please?

how to make a program where you can enter the usrnme, then enter the paswrd, but the paswrd will be written in asterisk and only read afer pressing ENTER;

if usrnme is correct and pass is correct, it will say "welcome"
if usrnme is correct and pass is not, it will say "access denied"
if usrnme is wrong and pass is correct, it will say "intruder alert"
if both are wrong, it will say "you are not welcome here"

please? please? please?

Thanks in advance Sir!, Good Day.

School work? :-) Please make an effort first, and then we will help you over the rough spots, but DO NOT ask us to do the work for you. Cheating is unethical and doesn't help you learn the subject!

if usrnme is wrong and pass is correct, it will say "intruder alert"

If the user name is wrong, how do you know the password is correct? Systems that allow only one user are dumb. Telling intruders that they're using the correct password and only need to figure out the user name is even more dumb. ;)

if both are wrong, it will say "you are not welcome here"

I fat finger my login credentials all the time; it would be disheartening if my software told me I wasn't welcome because I had difficulty typing.

commented: You're always right, and if you're wrong I wouldn't notice ;) +13
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.