Contenido del Curso
Principios Básicos de Java
Principios Básicos de Java
Desafío: Factorial
Tarea
Swipe to start coding
- Write a for loop that runs from 1 to n.
- Inside the loop, check if the current number is divisible by 3 or 5.
- If the number is not divisible by 3 or 5, add it to the sum variable.
Solución
solution
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 8
Desafío: Factorial
Tarea
Swipe to start coding
- Write a for loop that runs from 1 to n.
- Inside the loop, check if the current number is divisible by 3 or 5.
- If the number is not divisible by 3 or 5, add it to the sum variable.
Solución
solution
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 8