Answered step by step
Verified Expert Solution
Link Copied!

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):

image text in transcribed

image text in transcribed

userInfo.java:

image text in transcribed

image text in transcribed

image text in transcribed

.txt files:

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

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.nextLine

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions