Created
October 1, 2019 21:54
-
-
Save 100daysofdevops/d2844e7b1d2b56b08189ec64894c264f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment