if((with>=0)&&(with>=2000)&&(inacbal<=0)&&(inacbal>=2000))
problem is here.
if(with <= 0) {
printf(“Enter Valid amount. Your current account balance is: %d\n”, inbal);
return 0;
}
if(with <=inbal) {
// Do the required stuff here
} else {
printf(“Not sufficient fund”);
}
Moreover can you describe the problem?(How your ATM would like to work? In multiple of 5 can be withdrawn?)
Hope this wil give you an idea to proceed!!1