Ask a New Question

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

1 year ago

Answers

There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!

Submit Your Answer


We prioritize human answers over AI answers.

If you are human, and you can answer this question, please submit your answer.

Related Questions

Are there any Television programs that have primarily helped or hindered social and political life i... Having trouble with this program running, can anybody help solve my problem: #include <stdio.h>... Create a flowchart for a program that will sort the top 1,000 customers by their annual purchase amo... How would you write this program? We are using Java in Netbeans IDE.. Write a program to enter... There are 6 dancers in a program. Each dancer will preform a short dance with each of the other danc... What are the 4 bilingual programs? ABC Company – Training Program ABC Company has 50,000 employees in its headquarters. The company... I am trying to create a program that displays shipping charges for two region codes. The region cod... How would you say that a program bores you in Spanish? A. me interesa B. me duele C. me encant... One computer in a lab is programmed to back up data at the turn of the minute every five minutes. An...
Submit Your Answer

Question

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

Ask a New Question
Archives Contact Us Privacy Policy Terms of Use