Desafio: Fatorial
Tarefa
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.
Solução
solution.java
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 8
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Resumir este capítulo
Explicar o código em file
Explicar por que file não resolve a tarefa
Awesome!
Completion rate improved to 2.7
Desafio: Fatorial
Deslize para mostrar o menu
Tarefa
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.
Solução
solution.java
Tudo estava claro?
Obrigado pelo seu feedback!
Awesome!
Completion rate improved to 2.7Seção 3. Capítulo 8
single