General Looping question
<pre><code>var answer = " ";
var correct = "4";
var question = "What is 2 * 2?";

for(i = 2; i &lt; 5; i++) {
    answer = prompt(question, "0");
    if (answer == correct) {
        alert("Your answer is correct!");
        break;
    }
}
</code></pre>

<p>How many chances would the user have before the break command got executed? </p>
