Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- )
- func main() {
- a := 3
- b := 2
- fmt.Println(a + b) // 5
- fmt.Println(a - b) // 1
- fmt.Println(a * b) // 6
- fmt.Println(a / b) // 1
- fmt.Println(a % b) // 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement