Question: I need this in Java You will need user input. You CAN declare three strings... for three passwords although you don't have to declare them

 I need this in Java You will need user input. You

I need this in Java

You will need user input. You CAN declare three strings... for three passwords although you don't have to declare them to get this to work. 1: "Bahafana" 2: "steak" 3: "password" Ask the user to type in their password. If it matches one of those three.. you print a message... "Welcome, password accepted" If it doesn't... Alerting the police.. you are going down

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 Databases Questions!