#include <iostream>
using namespace std;
int main()
{
	double x, y, b;
	int T = 10;
	int c;
	int i, j;
	double deltaT[7];
	for (int c = 0; c < 7; c++)
	{
		y = 0.01 * (rand() % 101);
		x = rand() % 1 + y;
		deltaT[c] = T - x;
	}

		for (int c = 0; c < 6; c++)
		{
			for (int j = c + 1; j < 7; j++) {
			if (deltaT[c] < deltaT[j]) {
				x = deltaT[c];
				deltaT[c] = deltaT[j];
				deltaT[j] = x;
			}
			}
		}
	
		for (int c = 0; c < 7; c++) {
		cout << deltaT[c] << endl;
	}

	system("pause");
	return 0;
}