Write a loop that finds the sum of the numbers from 0 to 100. Then display the sum in an alert box.

What will be an ideal response?

```
var sum = 0;
for(i=0; i<=100; i++){
sum = sum + i;
}
alert(sum);
```

Computer Science & Information Technology

You might also like to view...

An outline that was created in Word using ________ styles can be imported into a PowerPoint presentation that includes slide titles and bullet levels

Fill in the blank(s) with correct word

Computer Science & Information Technology

A list of thumbnails of open but not active programs is called a switch list

Indicate whether the statement is true or false

Computer Science & Information Technology