Flowchart
Login flowchart
Flowchart content
Input first username
Start
Store username as p1
Input password
pwcount = 0
Does pwcount = 3?
Yes
output "too many tries"
End
Does pw match passwords in list?
No
pwcount += 1
Yes
Input second username
Store username as p2
Input password
pwcount = 0
Does pwcount = 3?
Yes
output "too many tries"
End
Does pw match passwords in list?
No
pwcount += 1
Yes