why this solution is wrong, and how to retrieve 120.00?

#include
#include
using namespace std;
int main()
{
int amt;
float bal;
float out;
cout<<“enter the amount to withdraw”<<endl;
cin>>amt;
cout<<"enter the balance "<<endl;
cin>>bal;
if(amt%5==0)
{
if((amt+0.5)<=bal)
{
out=bal-amt-0.5;
cout<<out<<endl;
}
else
{
cout<<bal<<endl;
}
}
else
{
cout << bal << ‘\n’;
}
return(0);
}