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

func uint fibonacci( uint prevprev prev )
{
   if prev > 2000000000 : return prev
   print( "\( prev + prevprev )\n" )
   return fibonacci( prev,  prev + prevprev )
}

func main<main>
{
   print("This program displays 47 numbers of Fibonacci (Xn = Xn-1 + Xn-2)\n\n")

   print( "1\n1\n" )
   fibonacci( 1, 1 )
   getch()
}
