What is the value of k after the following code fragment? int k = 0; int n = 12 while (k < n) { k = k + 1; }
Reveal answer
Fill a bubble to check yourself
What is the value of k after the following code fragment? int k = 0; int n = 12 while (k < n) { k = k + 1; }