LOL. wht can i say .. i just started c++ and made this prog today.!

hey i have this code..... n it works

 # include <iostream.h>
  void main ()
  {
  int x=0, y=1, b, n=0,ter;

  cout<<"Enter The number of terms";
  cin>>ter;
  cout<<x<<" "<<y<<" ";

        while (n<ter-1)
        {
          b=x+y;
          cout<<b<<" ";
          x=y;
          y=b;

          n++;
        }

  }
commented: spoon feeding thread necro :P +0