Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Username and password pairs are stored in a text file named accounts.txt. Populate the accounts.txt file with five unique credentials in the form of

image text in transcribed

Username and password pairs are stored in a text file named "accounts.txt". Populate the accounts.txt file with five unique credentials in the form of ":". When you run the program, you are prompted with "Username:" User must type in a username and press "Enter". The user is then prompted with "Password: The user must type in a password and press "Enter". The program checks the accounts.txt to look for the username and password pair of ":" If it exists, the program responds with "Welcome!". If it fails, the program responds with "Login Failed" and then presents the "Username:" prompt again. Watch the linked video for the expected behavior: https://drive.google.com/file/d/1CtE-jjD2VB-00C3BSe7HY6SP-MIEEZDN/view?usp=sharing Submit the Following (minimum 3 files): 2 points - README.txt file that contains instructions on how to run your program (e.g. programming language, dependencies, commands to execute the program) 8 points - accounts.txt file populated with usernames and passwords, and the program file

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

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

1.Which are projected Teaching aids in advance learning system?

Answered: 1 week ago

Question

What are the classifications of Bank?

Answered: 1 week ago