Use a for loop to go through all numbers from number up to 50 (both inclusive), and check if they are multiples of 3. If they are, print them.
for(var number = 42; number <= 50; number++)
while (number % 3 == 0 ){
console.log(number);
break;
}
I don't know what my if statement should be.