Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Desafio: Fatorial | Loops
Noções Básicas de Java

Deslize para mostrar o menu

book
Desafio: Fatorial

Tarefa

Swipe to start coding

  1. Write a for loop that runs from 1 to n.
  2. Inside the loop, check if the current number is divisible by 3 or 5.
  3. If the number is not divisible by 3 or 5, add it to the sum variable.

Solução

solution.java

solution.java

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 8
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

Awesome!

Completion rate improved to 2.7

book
Desafio: Fatorial

Tarefa

Swipe to start coding

  1. Write a for loop that runs from 1 to n.
  2. Inside the loop, check if the current number is divisible by 3 or 5.
  3. If the number is not divisible by 3 or 5, add it to the sum variable.

Solução

solution.java

solution.java

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

close

Awesome!

Completion rate improved to 2.7

Deslize para mostrar o menu

some-alt