ATM problem: please help me find what is the compilation error in this

balance = int(raw_input(‘Enter the account balance’))

amount = int(raw_input(‘Enter the amount to be withdrawed’))

if (amount%5)!=0:

print "Renter amount"

exit(0)

elif ((amount+0.50) > balance):

print "Insufficient fund"

else:

print "Transaction can be performed. Amount after transaction is: %d", balance -(amount+0.50)

I am programming in Java, however, one thing I might find troublesome without looking at whole code is that you are trying to add up integer (amount) with a float (0.50)

Please give a link to the problem you are trying to solve.