Why my solution show wrong while submitting in codechef

#include<stdio.h>

int main(){

int x;

float y, cash_withdrawl;

printf(“enter the bank balance \n”);

scanf("%f",&y);

printf(“enter the withdrawl balance \n”);

scanf("%d",&x);

cash_withdrawl = y-(x + 0.50);

if((y>0 && y<=2000) && (x>0 && x<=2000)&& ( x%5==0) ){

// cash_withdrawl = 2000-(x + 0.50);

printf("account balance after an attempted transaction : $%f \n",cash_withdrawl);

}

else if ((y>0 && y<=2000) && (x>0 && x<=2000)&& x%5!=0){

printf("You can't withdraw the amount. Your available balance is $%f \n",y);}

else if (x>2000 && y>2000 || x>2000 && y<= 2000 || y>2000 && x<= 2000){

    printf("you can't withdwraw the amount");}

return 0;

}

There may be other problems, but fix this first :slight_smile: