Un cours pour se lancer dans la programmation avec le langage Go (golang).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
205 B

  1. package main
  2. import "fmt"
  3. func main() {
  4. x := 5*10 + 6/3 | 7%4&15 // same as (5*10) + (6/3) | (7%4)&15 = 50 + 2 | 3&15 = 52 | 3 =
  5. fmt.Println(x)
  6. a := true && false || true && !false
  7. fmt.Println(a)
  8. }