chalk/programs/basic_if.chalk

18 lines
180 B
Plaintext
Raw Normal View History

2018-08-05 14:25:40 -07:00
fun main(): u0 {
var a = 3+3;
if(a) {
a = 0;
}
var b = 0;
if(b) {
b = 4;
}
if(b) {
b = 4;
} else {
b = 5;
}
}