Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: if Condition | Estruturas de Controle
Fundamentos de C#

bookChallenge: if Condition

Tarefa

Swipe to start coding

  • Declare an integer variable for the user’s age.
  • If the user is 18 or older, print Access granted.
  • If the user is between 13 and 17, print Access limited.
  • If the user is 12 or younger, print Access denied.

Solução

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

bookChallenge: if Condition

Deslize para mostrar o menu

Tarefa

Swipe to start coding

  • Declare an integer variable for the user’s age.
  • If the user is 18 or older, print Access granted.
  • If the user is between 13 and 17, print Access limited.
  • If the user is 12 or younger, print Access denied.

Solução

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

some-alt