Exercises 3.3-3.4: password and login count state variables, awkwardly wrapping the main code...