Answer:español por favor asi te responderé y gracias por los 10 puntos chaoo
Explanation:
Answer:
Assuming this is in python:
def check_password(password):
correct_password = "qbasic"
if password == correct_password:
return True
else:
return False
def main():
user_input = input("Type in your password: ")
if check_password(user_input):
print("Correct!")
else:
print("Wrong, try again")
main()
Explanation:
Hope this helped :) If it wasn't suppose to be in python, tell me so I can make it in the correct programming language.
Have a good day :)
Answer:
Constructor in the class is the member function that gets into action when any new object gets created in the class ,it gets invoked. It does not have any return type and no void return.
The constructor is used in the class because there is the requirement for the initializing of the new object and then only object can do the functioning in the program.
Use a code validation tool.
It is called Ram in another term for memory :)