While the voter’s roll (file VotersRoll.dat) is processed, a new updated voters’ roll (another file called UpdatedVoters.dat) is created simultaneously. Take care to make sure that all the voters on the original voters’ roll also appear in the updated voters’ roll. Test your program with the following data:
Voters that want to vote:
19810102009
19792003008
19851010890
19561812567
19682703345
Not sure if this is enough information but I will try give an example:
so, the number 19900909897 is not wanting to vote but I must still print it to the UpdatedVoters.dat. How would I loop through the VotersRoll.dat to only find 19900909897?