Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- )
- func main() {
- n := 0
- if n > 0 {
- fmt.Println("n is larger than zero.")
- } else if n < 0 {
- fmt.Println("n is smaller than zero.")
- } else {
- fmt.Println("n is equal to zero.")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement