Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Naming Your First Variables | Variables and Type Inference
Dart Variables & Data Types

bookChallenge: Naming Your First Variables

Tarefa

Swipe to start coding

Write a Dart program that declares variables for a user's name, age, and premium membership status. Use appropriate variable types and follow Dart naming conventions.

  • Declare a variable for the user's name using a type suitable for text.
  • Declare a variable for the user's age using a type suitable for whole numbers.
  • Declare a variable for whether the user is a premium member using a type suitable for true/false values.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
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: Naming Your First Variables

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Write a Dart program that declares variables for a user's name, age, and premium membership status. Use appropriate variable types and follow Dart naming conventions.

  • Declare a variable for the user's name using a type suitable for text.
  • Declare a variable for the user's age using a type suitable for whole numbers.
  • Declare a variable for whether the user is a premium member using a type suitable for true/false values.

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 1. Capítulo 2
single

single

some-alt