HS08TEST: getting wrong answer

Unable to find bug in ATM problem, infact its working in my compiler dont know why showing wrong answer…
Kindly Help…I’ve provided my code below
Thank You

int main()
{	int x=0;
	float y=0;
	scanf("%d %f",&x,&y);
	if(x<y && x%5==0)
	return 0;

Bank charges 0.5 amount for each transaction. hence, if x+0.5 is less than or equal to y then transaction is possible. make sure to take x as float as well.

Thank You @sagar_sam