The sum of numbers

Report a typo

Write a program that calculates the sum of all numbers from 1 to 100 (inclusive) and displays the result to the console.

Don't forget to call the function and use loops.

Write a program in JavaScript





___

Create a free account to access the full topic