Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN VISUAL LOGIC ONLY, SHOW THE FLOWCHART FOR: 5 - 7 . Access Granted. Write a program that reads 1 0 username and password pairs
IN VISUAL LOGIC ONLY, SHOW THE FLOWCHART FOR:
Access Granted. Write a program that reads username and password pairs and stores
those username and password values into parallel arrays. After the arrays have been loaded, the
program should behave as a login screen, continuously prompting for a username and password
until a valid combination is entered and access is granted. Each time the user enters username
and password data, the program should respond appropriately with one of three output messages. If the username does not match one of the values in the username array, then the message
should be Username not found. If the username is found in the username array, but the password does not match the parallel value in the password array, then the message should be
Username and password do not match. If the username is found and the password matches
the parallel value in the password array, the message should be Access granted. The program should use a loop and continue to prompt the user for a valid username and password
pair until a valid pair is entered and access is granted Access Granted. Write a program that reads username and password pairs and stores
those username and password values into parallel arrays. After the arrays have been loaded, the
program should behave as a login screen, continuously prompting for a username and password
until a valid combination is entered and access is granted. Each time the user enters username
and password data, the program should respond appropriately with one of three output mes
sages. If the username does not match one of the values in the username array, then the message
should be "Username not found." If the username is found in the username array, but the pass
word does not match the parallel value in the password array, then the message should be
"Username and password do not match." If the username is found and the password matches
the parallel value in the password array, the message should be "Access granted." The pro
gram should use a loop and continue to prompt the user for a valid username and password
pair until a valid pair is entered and access is granted.
Step 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