Question: USERNAME = user 1 PASSWORD = password 1 What is your user name? What is your password? What is your age? a .

USERNAME = "user1"
PASSWORD = "password1"
What is your user name?
What is your password?
What is your age?
a. If the user name and password are incorrect, display a message that says
Your credentials are not valid
b. If both user name and password are correct, ask question 3
c. If the answer to question 3 is eighteen and greater, display a message that says - You're considered an adult
d. If the answer to question 3 is less than eighteen, display a message that says - you're not considered an adult
e. MAKE SURE to use the constants above
USERNAME = "user 1 " PASSWORD = "password 1 "

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!