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 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
Get step-by-step solutions from verified subject matter experts
