Menu
×
×
Correct!
Exercise:Create a variable called z, assign x + y to it, and display the result.
package main
import ("fmt")
func main() {
var x = 5
var y = 10
var @(1) = x + y
fmt.Println(@(1))
}
package main
import ("fmt")
func main() {
var x = 5
var y = 10
var z = x + y
fmt.Println(z)
}
Not CorrectClick here to try again. Correct!Next ❯ |