Computer Science, asked by jisot53679, 10 months ago

Write a program to declare 2 arrays to store the 5 users’ names and their respective passwords. The program should accept a user name and a password and search for the username.

If the user name exists and the password matches for that particular user, then display the message, “Welcome ”.
If the username is not found or if the username is found but the password does not match, then display the message “Login failed”.

Sample usernames : robin, sanya, sunny, Rohit, vimal
Sample passwords : as12#dfg, AA123$sd, bv45ttt, cvn1990, kpk#12$gh


BLUE J JAVA

Answers

Answered by royniraj17
0

Answer:

Wait for 5min It is very easy question.

Similar questions