# Quiz: While Loops

### Problem

Note: the println() function prints out a line of text with the value that you pass to it - so if you say println("Hi"), it will output: Hi
Consider the following code:
var i = 0;
while (i < 3) {
println("hi");
i++;
}
What does the code output?
Please choose from one of the following options.
Do 6 problems