Text: |
ԲΠ= Ãîðáà÷åíêî Â.À.
Çàïèòàííÿ:// ÏÎÄÊËÞ×ÅÍÍÛÅ ÁÈÁËÈÎÒÅÊÈ
#include <iostream> // ÁÈÁËÈÎÒÅÊÀ ÂÂÎÄÀ/ÂÛÂÎÄÀ
#include <math.h> // ÁÈÁËÈÎÒÅÊÀ  ÊÎÒÎÐÎÉ ÍÀÕÎÄßÒÜÑß ÌÀÒÅÌÀÒÈ×ÅÑÊÈÅ ÔÓÍÊÖÈÈ
#include <stdio.h> // ÁÈËÈÎÒÅÊÀ ÂÂÎÄÀ/ÂÛÂÎÄÀ
using namespace std; // ÒÀÊ ÍÀÄÎ äëÿ cout è äëÿ cin
//------------------------------------------------------------------------------
int main()
{
int n;
cout<<"ENTER N( N > 0) : ";
cin>>n;
// for ( <ïåðåìåííàÿ ñ êîòîðîé ðàáîòàåò öèêë ôîð è ìîæíî íà÷àëüíîå çíà÷åíèå> ; <óñëîâèå, ïðè êîòîðîì èäåò âûïîëíåíèå öèêëà> ; <øàã>)
for (int a = 0 ; a < n ; a++){
cout<< a+1 << "\t : HELLO! " <<endl;
}
system("pause");
return 0;
}
====================================
|