can anyone solve this problem for me
I need help with this problem can you solve it for me ( write the program)
-A password-protected security door can only be opened when a user inserts a valid 4-digit personal identification number (PIN).
-The program starts by asking the user to enter a 4-digit PIN.If it is valid, the locked door is opened and the program returns for another user
input. If, on the other hand, the PIN is invalid the program checks whether three attempts were made. If so, the alarm is triggered; otherwise the user is given another try to input the correct PIN.
-Assume that your security door system supports 10 users each with a unique PIN.
and i'll BE THANKFULL