Website Summary Files Commits Branches @commit @diff @stats
path: root / pract_SI / Pract. 03 / Solutions / task2.cpp
blob: b3e970df2814b74d0479a9648c7ca593d0a19b25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>

using namespace std;

int main()
{
	unsigned long long number;
	cin >> number;

	for (unsigned long long x = 1, y = number; x < number; x++)
	{
		cout << "x = " << x << " "
			 << "y = " << --y << endl;
	}

	return 0;
}