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
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
Incrível!
Completion taxa melhorada para 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
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 8
single