I'm trying to write atm code on Python.Here is the question.
The atm only dispense amount divisible by 5.The fee for each withdrawal is $0.5+1% of the amount cash withdrawn. After completing each transaction the bank rounds the balance to the closest whole value 67.9=67 ,78.1=78.
Input the list of integers, the first one denotes account balance the second is a list of money anmount to withdraw.
Output :account balance after all operations,Integer.
please give some hints ,suggestions..........
Any python gurus in sajha. Help will be appreciated.
Last edited: 02-Apr-13 05:10 PM