// JS
var a = 1;
var b = 1;
if (a == b) {
console.log("A = B");
}
Pseudocode
REPEAT n TIMES
REPEAT 100 TIMES
Sum allnumbers
PRINT resultsum
# Python
# Define variables
num = 1
# For loop
for i in range(100):
# Adds the number to the sum
sum = sum + num
# Prints sum
print(sum)
// JS
// Define variables
var sum;
var num;
// For loop
for (let int = 0; int < 100; step++) {
// Adds the number to the sum
sum = sum + num;
}
// Prints sum
console.log(sum);