Aprenda Go 🇧🇷 Cap. 3 – Exercícios: Nível #1 – 4
Cap. 3 – Exercícios: Nível #1 – 4 Transcript and Lesson Notes
- Crie um tipo. O tipo subjacente deve ser int. - Crie uma variável para este tipo, com o identificador "x", utilizando a palavra-chave var. - Na função main: 1. Demonstre o valor da variável "x" 2. Demonstre o tipo da v
Quick Summary
- Crie um tipo. O tipo subjacente deve ser int. - Crie uma variável para este tipo, com o identificador "x", utilizando a palavra-chave var. - Na função main: 1. Demonstre o valor da variável "x" 2. Demonstre o tipo da v
Key Takeaways
- Review the core idea: - Crie um tipo. O tipo subjacente deve ser int. - Crie uma variável para este tipo, com o identificador "x", utilizando a palavra-chave var. - Na função main: 1. Demonstre o valor da variável "x" 2. Demonstre o tipo da v
- Understand how programação fits into Cap. 3 – Exercícios: Nível #1 – 4.
- Understand how programar fits into Cap. 3 – Exercícios: Nível #1 – 4.
- Understand how go fits into Cap. 3 – Exercícios: Nível #1 – 4.
- Understand how programacao fits into Cap. 3 – Exercícios: Nível #1 – 4.
Key Concepts
Full Transcript
- Crie um tipo. O tipo subjacente deve ser int. - Crie uma variável para este tipo, com o identificador "x", utilizando a palavra-chave var. - Na função main: 1. Demonstre o valor da variável "x" 2. Demonstre o tipo da variável "x" 3. Atribua 42 à variável "x" utilizando o operador "=" 4. Demonstre o valor da variável "x" - Para os aventureiros: https://golang.org/ref/spec#Types - Agora já somos quase ninjas nível 1! - Solução: https://play.golang.org/p/snm4WuuYmG → Compartilhe sua solução e converse com outros estudantes em: https://github.com/ellenkorbes/aprendago/issues/7
Lesson FAQs
What is Cap. 3 – Exercícios: Nível #1 – 4 about?
- Crie um tipo. O tipo subjacente deve ser int. - Crie uma variável para este tipo, com o identificador "x", utilizando a palavra-chave var. - Na função main: 1. Demonstre o valor da variável "x" 2. Demonstre o tipo da v
What key concepts are covered in this lesson?
The lesson covers programação, programar, go, programacao, golang.
What should I learn before Cap. 3 – Exercícios: Nível #1 – 4?
Review the previous lessons in Aprenda Go 🇧🇷, then use the transcript and key concepts on this page to fill any gaps.
How can I practice after this lesson?
Practice by applying the main concepts: programação, programar, go, programacao.
Does this lesson include a transcript?
Yes. The full transcript is visible on this page in indexable HTML sections.
Is this lesson free?
Yes. CourseHive lessons and courses are available to learn online for free.
