GVA SUPPORT

³äïîâ³äü íà çàïèòàííÿ ¹ 1325447198
Text:
	ԲΠ= Ãîðáà÷åíêî Â.À.

 Çàïèòàííÿ:// ÏÎÄÊËÞ×ÅÍÍÛÅ ÁÈÁËÈÎÒÅÊÈ
#include <iostream>  // ÁÈÁËÈÎÒÅÊÀ ÂÂÎÄÀ/ÂÛÂÎÄÀ
#include <math.h>    // ÁÈÁËÈÎÒÅÊÀ  ÊÎÒÎÐÎÉ ÍÀÕÎÄßÒÜÑß ÌÀÒÅÌÀÒÈ×ÅÑÊÈÅ ÔÓÍÊÖÈÈ
#include <stdio.h>   // ÁÈËÈÎÒÅÊÀ ÂÂÎÄÀ/ÂÛÂÎÄÀ
using namespace std; // ÒÀÊ ÍÀÄÎ äëÿ cout è äëÿ cin

//------------------------------------------------------------------------------


int main()
{
        /*
         öèêë   for             -- öèêë ç ë³÷èëüíèêîì
         öèêë   while           -- öèêë ç ïåðäóìîâîþ
         öèêë do - while        -- öèêë ç ï³ñëÿóìîâîþ
        */
        int a = 0;
        for ( ; a < 3 ; a++)
        {
                cout<<" CYCLE FOR : A = "<<a<<endl;
        }
        cout<<" AFTER THAT A = "<<a<<endl<<endl;

        while (a >-3)
        {
                cout<<" CYCLE WHILE : A = "<<a<<endl;
                a--;
        }
        cout<<" AFTER THAT A = "<<a<<endl<<endl;

        do
        {
                cout<<" CYCLE DO - WHILE : A = "<<a<<endl;
                a++;
        } while (a != 3);
        cout<<" AFTER THAT A = "<<a<<endl<<endl;


        system("pause");
        return 0;
}


====================================	
Âàøà â³äïîâ³äü