feat: add while to show 3 multiples

This commit is contained in:
2026-05-20 16:54:37 -03:00
parent a181ee8682
commit cc4c171446

View File

@@ -25,3 +25,13 @@ if (age <13 ) {
} else { } else {
console.log(name +" es un adolescente"); console.log(name +" es un adolescente");
} }
// Tercer ejercicio
let n=3
const maximo=30
while (n < maximo) {
console.log(n)
n+=3
}