ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
// *****************************************************************
#include <iostream>
#include <conio.h>
#include <math.h>
using namespace std;
main()
{
cout << "Hello world!" << endl;
/*
listBox1.Items.Add("2.1");
for (double i = 1d; i <= 20d; i++)
{
double x;
x = (int)(2.1d + 9d / Math.Pow(10d,i));
listBox1.Items.Add(x.ToString());
}
*/
cout << " 2.1 \n ";
for (double i = 1.0d; i <= 20.0d; i++)
{
double x;
x = (int)(2.1d + 9.0d / pow(10.0d,i));
cout << " " << x << "\n";
}
char exit;
cin >> exit;
getch();
}
// *****************************************************************