Can you help me write an authentication progam that would deny access to unathorised users using basic programming language.

2 answers

I would ask the user to input a secret word, then test to see if that word is correct, if it is, enter. If not, give him three chances to enter it, if wrong, exit.
yes i can help you