for


using System;

using System.Collections.Generic;

using System.Text;

 

namespace UseFor1

{

    class Program

    {

        static void Main(string[] args)

        {

            // 100

            for (int i = 0; i < 100; i++)

            {

                Console.WriteLine(i);

            }

 

            Console.ReadLine();

            Console.Clear();

 

            //   X(k) = X(k-1) + X(k-2)

            int i1 = 1, i2 = 1, i3;

 

            for (int k = 0; k < 10; k++)

            {

                i3 = i1 + i2;

                Console.WriteLine(i1);

                i1 = i2;

                i2 = i3;

            }

            Console.ReadLine();

            Console.Clear();

 

            for (

                 int j1 = 1, j2 = 1, j3, k = 0;

                k < 10;

           k++, j3 = j1 + j2, Console.WriteLine(j1), j1 = j2, j2 = j3)

                ;

           

 

        }

    }

}