Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: Chemchem on Jun 23, 2022



Title: Consider the following JavaScript code:
Post by: Chemchem on Jun 23, 2022
Consider the following JavaScript code:
var x = 10;
var count = 1;
while count < 11)     {
       console.log(count * x +  );
     count += 1;
}
What does this code do?
A) Displays the numbers 1 through 10 on the display until the user halts the program.
B) Multiplies the number 10 by 1 and logs the result in a file called console.
C) Counts by 10 and displays 10 numbers on the screen.
D) Adds the number 10 and 1 and logs the result in a file called console.


Title: Consider the following JavaScript code:
Post by: Yeeeee89 on Jun 23, 2022
Content hidden