#include<stdio.h>
void main()
{
float bal;
int with;
printf(“Enter amount to withdraw: “);
scanf(”%d”,&with);
printf(“Enter balance: “);
scanf(”%f”,&bal);
if(with<bal)
{
if(with%5==0)
{
bal=bal-with-0.5;
}
}
printf(“Balance is %.2f”,bal);
}