repeating of staement

#include <stdio.h>

int main(void)
{
float bal,total;
int amt;
printf(“enter the amount”);
scanf("%d%f",&amt,&bal);
if(amt%5==0 && amt<bal)
{
total=bal-amt;
printf(“the balance is=%f\n”,total);
}
else
{ printf(“you have entered the wrong text%f\n”,bal);
}
return 0;
}

why enter the amount statement is repeating with the output of result