nim-lecture/NimWorkspace/Anfang.nim

5 lines
79 B
Nim

var x,y,z :int
x = 10
y = 25
z = x + y
echo "sum of ", x, " and ", y, " is ", z