5 CLS 6 totalamount = 0 10 DO 11 CLS 15 PRINT "How may I help you" 18 INPUT "Do you want to deposit(d) or withdraw(w) money"; dw$ 'deposit part '------------ 20 IF dw$ = "d" THEN 25 INPUT "How much money do you want to deposit"; amountd 28 IF amountd > 0 THEN 35 totalamount = totalamount + amountd 40 PRINT "You have deposited "; amountd; " dollars." 41 PRINT "Your total amount is : "; totalamount 45 END IF 50 END IF 'withdraw part '_____________ 75 IF dw$ = "w" THEN 80 INPUT "How much do you want to withdraw"; AMOUNTW 85 IF AMOUNTW > 0 THEN 95 totalamount = totalamount - AMOUNTW 100 PRINT "You have withdrew amount "; AMOUNTW; " dollars" 101 PRINT "Your total amount is : "; totalamount 105 END IF 110 SLEEP 2 999 BEEP 111 END IF 120 INPUT "Do you want to do anything else (yes or no)"; else$ 125 LOOP UNTIL else$ = "no"