Hello, so I wrote this code, but it’s showing me wrong answer, can you help me in this?
#include<stdio.h>
int main()
{
int x;
float y;
scanf("%d",&x);
scanf("%f",&y);
if(x%5==0&&y>(x+0.5))
{
printf("%f",y-x-0.5);
}
printf("%f",y);
return 0;
}