ligo/src/contracts/function-complex.ligo
2019-05-14 17:53:44 +02:00

8 lines
142 B
Plaintext

function main (const i : int) : int is
var j : int := 0 ;
var k : int := 1 ;
begin
j := k + i ;
k := i + j ;
end with (k + j)