Premium Only Content

Cap. 3 – Exercícios: Nível #1 – 5
6.486 visualizações 1 de mai. de 2020 Aprenda Go 🇧🇷
- Utilizando a solução do exercício anterior:
1. Em package-level scope, utilizando a palavra-chave var, crie uma variável com o identificador "y". O tipo desta variável deve ser o tipo subjacente do tipo que você criou no exercício anterior.
2. Na função main:
1. Isto já deve estar feito:
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"
2. Agora faça tambem:
1. Utilize conversão para transformar o tipo do valor da variável "x" em seu tipo subjacente e, utilizando o operador "=", atribua o valor de "x" a "y"
2. Demonstre o valor de "y"
3. Demonstre o tipo de "y"
- Solução: https://play.golang.org/p/uq81T_fasP
-
LIVE
SpartakusLIVE
1 hour ago#1 Hulking MASS squashes NOOBS for viewers’ DELIGHT
228 watching -
LIVE
Nikko Ortiz
2 hours agoBetter Than Escape From Tarkov? - Rumble LIVE
285 watching -
1:04:26
BonginoReport
3 hours agoFBI Reveals Dallas Shooter’s Anti-ICE Motives - Nightly Scroll w/ Hayley Caronia (Ep.142)
132K22 -
31:50
MattMorseTV
1 hour ago🔴Trump prepares for WAR with RUSSIA.🔴
1.27K18 -
LIVE
LFA TV
1 day agoBREAKING NEWS ALL DAY! | THURSDAY 9/25/25
904 watching -
9:21
Tundra Tactical
2 hours ago $0.31 earnedThe Dumbest Gun Questions Of All Time Answered! Part 2
4.55K1 -
1:03:58
TheCrucible
3 hours agoThe Extravaganza! EP: 43 (9/25/25)
104K11 -
1:14:53
Kim Iversen
4 hours agoHegseth Summons Top Brass — Is War With Russia Incoming?
33.6K121 -
LIVE
StoneMountain64
5 hours agoBattlefield 6 News and Extraction Gaming
128 watching -
LIVE
LumpyPotatoX2
1 hour agoWorld of Tanks 2.0 | Public Service Announcement - #RumbleGaming
47 watching