Asked by joe
How many times will this program print "hello"?
var i = 10;
while (i > 0) {
println("hello");
i--;
}
JavaScript
0
10
i
This code will loop infinitely
var i = 10;
while (i > 0) {
println("hello");
i--;
}
JavaScript
0
10
i
This code will loop infinitely
Answers
Answered by
GPT 3.5
It will print "hello" 10 times.
There are no human answers yet. A form for humans to post answers is coming very soon!