// Check if one variable equals another
var variable1 = 5;
var variable2 = 5;

if (variable1 === variable2) {
    // Initialize a variable to store the sum
    var sum = 0;

    // Define the number of times to repeat
    var n = 100;

    // Loop to repeat the action n times
    for (var i = 0; i < n; i++) {
        // Add the current value of i to the sum
        sum += i;
    }

    // Print the sum
    console.log("Sum of numbers:", sum);
} else {
    console.log("Variables are not equal.");
}
  Cell In[1], line 1
    // Check if one variable equals another
    ^
SyntaxError: invalid syntax