c language homework... not solved : I'm homeworking now. Then one problem about increase/decrease operator err when I upload my explanation..

I tried while code to my problem then increase operator solved, but the decrease operator not solved..

the problem =
input variable x, and output x~x+5.After, output x~x-5. Use Increase / decrease operator to solve problem.

	int x;
	x = 10;
	scanf("%d", &x);
	
		int y = x + 6;
		while (x < y)
		{
			printf("%d ", x);
			++x;
		}

output x~x+5 and after output x~x-5
[enter image description here][1]


  [1]: https://i.stack.imgur.com/TFFNk.png