/**
 * Day 4 - Loops
 * 
 * Activity 2: While Loop
 *  - Task 3: Write a program to calculate the sum of numbers from 1 to 10 using a while loop.
 */


let sum = 0;
let i = 1;

while (i <= 10) {
    sum += i;
    i++;
}

console.log(`Sum: ${sum}`);
