Reading in a textfile?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello everyone,

I've created a functioning ATM program, a bank machine.

Now I want to implement usernames and Pins into it. So I have a text
file with this info.
BILL, 1111
TOM, 2222
CHRIS, 3333

How do I go about reading those values from a text file into arrays
and then access those arrays?

.