Start learning free

LESSON 168 OF 678 · LOOPS & GLOBAL VARIABLES

Exercise: Sum Of Numbers

Lesson

Use a for loop to compute the sum of all numbers from 14 to 73.

Once computed, print this sum to the console.


Assignment
Follow the Coding Tutorial and compute the sum!


Hint
Look at the examples above if you get stuck.


STEP 1 OF 4
    Ctrl + Enter to check