Challenge: Basics of Variables
Task
Complete the following code so that both myVar1
and myVar2
are successfully declared and initialized.
index.go
123456789package main import "fmt" func main() { ___ myVar1 = 1 myVar2 __ 2 fmt.Println("The value of myVar1 is", myVar1) fmt.Println("The value of myVar2 is", myVar2) }
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 10
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 1.96
Challenge: Basics of Variables
Sveip for å vise menyen
Task
Complete the following code so that both myVar1
and myVar2
are successfully declared and initialized.
index.go
123456789package main import "fmt" func main() { ___ myVar1 = 1 myVar2 __ 2 fmt.Println("The value of myVar1 is", myVar1) fmt.Println("The value of myVar2 is", myVar2) }
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 10