Wrrong output coming

#include <stdio.h>

int main()
{
int X;
float Y;
scanf("%d",&X);
scanf("%f",&Y);
if (X%5==0 && Y>=X)
{
Y = Y-0.50;
Y = Y-X;
}
else
{
Y = Y;
}
printf("%0.2f",Y);
return 0;
}

this printf statement is causing error
printf("%0.2f",Y);
this is causing problem.
can you post link of question or explain what you want to get output?

check out this https://stackoverflow.com/questions/15765289/what-is-the-difference-between-0-2lf-and-2lf-as-printf-placeholders