1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/examples/sub.code
Jacob Eberhardt f7b197791f Code samples adapted so they have a main function
Code samples now reflect the changes made to the absy by adding functions.
2017-06-13 17:39:20 +02:00

7 lines
136 B
Text

// only using sub, no need to flatten
def main(a):
b = a + 100
c = b + a + b
d = b - a - 3 - a
e = d + 3 - a
return d + c + e