Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(Java programming)- I am having issues where the code isn't iterating past the Enter username and password areas. Any ideas on this issue? authenticationsystem.java(main program):
(Java programming)- I am having issues where the code isn't iterating past the "Enter username and password" areas. Any ideas on this issue?
authenticationsystem.java(main program):
userInfo.java:
.txt files:
File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window? userinfo javaauthenticationsystem.java X ackage authenticationsyste; import java.util.Scanner import java.iO.IOException: import Java.security. NoSuchAlgorithmException: 7 public class AuthenticationSystem { public static void main (String[ args) throws NoSuchAlgorithmException, Exception i 10 Scanner scnr-new Scanner (System.in) int failedAttempts = 0; int maxAttempts3 boolean logOut; String userName String userPass; UserInfo newUser- new UserInfo ) 12 14 16 17 18 while (failedAt tempts System.out.printin ("Please enter your USERNAME:" userNamscnr.nextLine System.out.println("Please enter your PASSWORD:") userPasScnr.nextLineStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started