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 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.
Create a free account to access the full topic