Control the number of password attempts

Modify the make-account procedure of exercise 3.3 by adding another local state variable so that, if an account is accessed more than seven consecutive times with an incorrect password, it invokes the procedure call-the-cops .


There are no comments yet.

Authentication required

You must log in to post a comment.

Login