Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Cap. 3 – Exercícios: Nível #1 – 3
Play lesson

Aprenda Go 🇧🇷 - Cap. 3 – Exercícios: Nível #1 – 3

5.0 (2)
47 learners

What you'll learn

This course includes

  • 21.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

- Utilizando a solução do exercício anterior: 1. Em package-level scope, atribua os seguintes valores às variáveis: 1. para "x" atribua 42 2. para "y" atribua "James Bond" 3. para "z" atribua true 2. Na função main: 1. Use fmt.Sprintf para atribuir todos esses valores a uma única variável. Faça essa atribuição de tipo string a uma variável de nome "s" utilizando o operador curto de declaração. 2. Demonstre a variável "s". - Solução: https://play.golang.org/p/QFctSQB_h3 → Compartilhe sua solução e converse com outros estudantes em: https://github.com/ellenkorbes/aprendago/issues/6

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere