scala/ScalaBook/chapter-04/addtwo.ram

read x read y
if x=0 then
  write y
else if y=0 then
  write x
else 
   while z=0 do
     x++
     y--
     if y=0 then
       z++
     end
   end
   write x
end
end