15 lines
203 B
Go
15 lines
203 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
var a int = 100
|
|
|
|
if a < 20 {
|
|
fmt.Printf("a is less than 20\n")
|
|
} else {
|
|
fmt.Printf("a is not less than 20\n")
|
|
}
|
|
fmt.Printf("value of a is : %d\n", a)
|
|
}
|