Oooh, oooh!

In all seriousness, it would be fun if someone compiled a set of different 
correct solutions to these problems. What an incredible way of showing people's 
different coding styles in Rev.
(my solution to #2 after the break)

























put 0 into tot
put 1 into pre
put 2 into fib
repeat
   if (fib >= 4000000) then exit repeat
   if (fib mod 2 = 0) then add fib to tot
   put fib into tmp
   add pre to fib
   put tmp into pre
end repeat_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to