Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- x := 10
- if(x > 20){
- fmt.Println("x is greater then 20")
- } else if (x > 5) {
- fmt.Println("x is greater then 5")
- } else {
- fmt.Println("Value of x: ",x)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement