whats wrong in this code of atm

#include
#include

using namespace std;

int main()
{   int x;
    float y;
    cout.setf(ios::fixed);
    cout<<"enter the amount you want to withdraw and initial balance = "<<endl;
    cin>>x>>y;
    if (x<=2000 && x>0 && y<=2000 && y>=0 && x<(y-0.5) )
    {
        if (x%5==0)
         {
             y=y-(x+0.5);
             cout <<setprecision(2)<<y;
         }
         else
          cout<<setprecision(2)<<y;
    }
    else if (x>y && y<=2000 && y>=0)
        cout <<setprecision(2)<<y;
        else if(y>=0)
            {
            cout<<setprecision(2)<<y;
        }

    return 0;
}

Its a machine checking your output. It will check for “exact” match. Printing any superfluous line like “Enter a number” or "The balance is " will lead to WA. Just print the output, nothing else.