func main args const const char int var int sum int int do sum sum whi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
func main(args const * const * char) int {
var (
a = 5 : int;
sum = 0 : int;
i =0 : int;
);
do {
i = i+1;
sum = sum+i;
} while(i <= 10);
if (sum < a){
return a;
}else{
return sum;
}
}