Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You final task is putting all your methods together. Write the pseudocode for th

ID: 3682630 • Letter: Y

Question


You final task is putting all your methods together. Write the pseudocode for the main method in your system that will execute the following tasks: Display in the screen the following message "New user [Y/N]?" If the user inputs "Y", create a new account in the system, ask the user for username and password. Store the credentials of the user in the arrays UserNames[] and password[] If the user input "N", allow the user to log into the system by asking her for her username and verify that the passoword is correct. You main method should keep track of the number of users in the system. You should use the methods created previously in this test.

Explanation / Answer

count=0;
usernames[],passwords[];
choice=New User[Y/N];
if choice=y then
println("Register Now");
println("Enter username:");
username[i]
println("Enter password");
passwords[i]
count++;
else
println("Enter username:");
username;
println("Enter password");
password;
for(int i=0;i<username.length;i++)
if(user.equalsIgnoreCase(username[i])&&pass.equals(passwords[i]))
{
println("succesfully logedin");
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote