ATM problem for beginner in dart | Programming in dart | Dart tutorial
Question Suman want to withdraw x $US from an ATM . the case machine will only accept the transaction if x is multiple of 5 and also x is less or equal to the balance including the service charge of 0.50 $US which is to be applied only after a successful transaction. Calculate Suman account balance after the transaction.