Run time error??????//y??

#include<stdio.h>
main()
{
int x;
float y=200;
printf(“Enter amount of money that u want to withdrawl “);
scanf(”%d”,&x);
if(x>0)
{
if(x%5==0)
{
if((float)x+0.50<=y)
printf(“remaining amount =.2f\n",y-x-0.5); else if((float)x+0.50>y) {printf("Limit exceeded than the balance\n"); printf("balance is .2f=”,y);}
}
else
{ printf(“Incorrect withdrwala amount\n”);
printf(“account balance is %.2f=”,y);}
}
else
printf(“Enter correct amount”);

            }

Please read the FAQ:

1 Like
//