Answer:
The program written in Python is as follows (See Explanation Section for detailed explanation)
password = "chEEzburg3rz"
userpassword = input("Enter Password: ")
if userpassword == password:
print("Access granted....")
else:
print("Access Denied")
Step-by-step explanation:
The programming language was not stated; However, I answered your question using Python
The line initializes the password to chEEzburg3rz"
password = "chEEzburg3rz"
This line prompts user for input
userpassword = input("Enter Password: ")
This if condition checks if user input corresponds with the initialized password
if userpassword == password:
print("Access granted....") If yes, this line is executed
else:
print("Access Denied") If otherwise, this line is executed