i want to know why it is wrong answer

#include<stdio.h>

int main()
{
int x;
float y;

scanf("%d",&x);
scanf("%f",&y);
if(x>0&&x<=2000)
{
	if(x%5==0)
	{


		if(y>x)
		{
			if(y>=0&&y<=2000)
			{
				printf("%0.2f",y=y-x-0.5);

			}
			else
			{

				printf("%f",y);
			}

		}
		else
		{

			printf("%0.2f",y);
		}

	}
	else
	{

		printf("%0.2f",y);
	}


}
else
{

  printf("0.2%f",y);
}

return 0;

}

not sure which question it is,but u need to insert a new line after every test case
use printf(“0.2%f\n”,y); instead of printf(“0.2%f”,y); everywhere.

I will give you a hint : Try the test case when x=10 and y=10.2. You will get the answer after you solve this case.Good luck.

@asif_mak This question has only one input. It will work without “\n” also.

thanks for the reply
its the atm ques and i have got my answer

//