Question: 6. What will be displayed in the console when the following program runs? var count = 0 while (count != 5){ console.log(count); count = count

 6. What will be displayed in the console when the following

6. What will be displayed in the console when the following program runs? var count = 0 while (count != 5){ console.log(count); count = count + 2; } O O A. O 2 4 6 O B. o 2 4 O C. 2 4 6 O D. The program will result in an infinite loop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!