Menu
×
×
Correct!

Exercise:

Use assignment operators to add 5 to x.

package main import ("fmt") func main() { x:=1 x+=5 fmt.Print(x) }

Not Correct

Click here to try again.

Correct!

Next ❯
package main
import ("fmt")

func main() {
  x:=1
  x
  fmt.Print(x)
} 

    
  




 

GO Syntax
GO Comments
GO Variables
GO Data Types
GO Arrays
GO Operators
GO Conditions
GO Switch
GO Loops
GO Functions

×

Reset the Score?

This will reset the score of ALL 28 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 28 GO exercises.

Share your score: