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.java
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 8
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 2.7
Desafío: Factorial
Desliza para mostrar el menú
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.java
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Awesome!
Completion rate improved to 2.7Sección 3. Capítulo 8
single