×
×
Correct!
Use the correct arithmetic operator to increase the value of the variable x by 1.
package main
import ("fmt")
func main() {
x:=1
x@(2)
fmt.Print(x)
}
package main
import ("fmt")
func main() {
x:=1
x++
fmt.Print(x)
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 28 exercises.
Are you sure you want to continue?