ATM help getting wrong answer

#include<stdio.h>
int main()
{
unsigned int x;
float y;
scanf("%d %f",&x,&y);
if((x<0&&y<0)|| x>2000 || y>2000 )
return;
if(x<y && x%5==0) y=(y-x)-.5;
printf("%.2f",y);
return 0;
}

It returns -0.40 for

50 50.10
1 Like
//