Aprenda Go 🇧🇷 Cap. 3 – Exercícios: Nível #1 – 2
Cap. 3 – Exercícios: Nível #1 – 2 Transcript and Lesson Notes
- Use var para declarar três variáveis. Elas devem ter package-level scope. Não atribua valores a estas variáveis. Utilize os seguintes identificadores e tipos para estas variáveis: 1. Identificador "x" deverá ter tipo i
Quick Summary
- Use var para declarar três variáveis. Elas devem ter package-level scope. Não atribua valores a estas variáveis. Utilize os seguintes identificadores e tipos para estas variáveis: 1. Identificador "x" deverá ter tipo i
Key Takeaways
- Review the core idea: - Use var para declarar três variáveis. Elas devem ter package-level scope. Não atribua valores a estas variáveis. Utilize os seguintes identificadores e tipos para estas variáveis: 1. Identificador "x" deverá ter tipo i
- Understand how programar fits into Cap. 3 – Exercícios: Nível #1 – 2.
- Understand how programação fits into Cap. 3 – Exercícios: Nível #1 – 2.
- Understand how golang fits into Cap. 3 – Exercícios: Nível #1 – 2.
- Understand how go fits into Cap. 3 – Exercícios: Nível #1 – 2.
Key Concepts
Full Transcript
- Use var para declarar três variáveis. Elas devem ter package-level scope. Não atribua valores a estas variáveis. Utilize os seguintes identificadores e tipos para estas variáveis: 1. Identificador "x" deverá ter tipo int 2. Identificador "y" deverá ter tipo string 3. Identificador "z" deverá ter tipo bool - Na função main: 1. Demonstre os valores de cada identificador 2. O compilador atribuiu valores para essas variáveis. Como esses valores se chamam? - Solução: https://play.golang.org/p/pAFd-F7uGZ → Compartilhe sua solução e converse com outros estudantes em: https://github.com/ellenkorbes/aprendago/issues/5
Lesson FAQs
What is Cap. 3 – Exercícios: Nível #1 – 2 about?
- Use var para declarar três variáveis. Elas devem ter package-level scope. Não atribua valores a estas variáveis. Utilize os seguintes identificadores e tipos para estas variáveis: 1. Identificador "x" deverá ter tipo i
What key concepts are covered in this lesson?
The lesson covers programar, programação, golang, go, programacao.
What should I learn before Cap. 3 – Exercícios: Nível #1 – 2?
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: programar, programação, golang, go.
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.
