feat: execute local assignments and while loops
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
main proc() int {
|
||||
product := 1
|
||||
remaining := 5
|
||||
|
||||
while remaining > 1 {
|
||||
product = product * remaining
|
||||
remaining = remaining - 1
|
||||
}
|
||||
|
||||
return product
|
||||
}
|
||||
Reference in New Issue
Block a user