#!/usr/local/bin/gentee -r

func main<main>
{
   uint  prevprev sum, prev = 1
   
   print("This program displays 48 numbers of Fibonacci (Xn = Xn-1 + Xn-2)\n\n")

   print( "0\n1\n" )
   while sum < 2000000000
   {
      sum = prevprev + prev
      prevprev = prev
      prev = sum    
      print( "\(sum)\n" )
   }
   getch()
}
