add if statements

This commit is contained in:
Luna 2019-08-25 13:02:40 -03:00
parent 83910811fa
commit 9b3e9e8139
3 changed files with 99 additions and 14 deletions

View file

@ -11,4 +11,10 @@ fn main(a int) int {
3 / (51 + 2)
mut a := 1+2
a = 2
if a {
println(30)
} else {
println(50)
}
}