요청 내용
“Create an ATM withdrawal control-flow diagram: insert a card, enter and validate a PIN with limited attempts, choose withdrawal, check account balance, dispense cash for sufficient funds, print a receipt when requested, return the card, and show an error for failed checks.”
그렇다면Add a daily withdrawal-limit check before dispensing cash.Change the receipt decision to send a digital receipt.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Validate PIN and allow up to three attempts
02
Check sufficient funds before dispensing
03
Enforce daily withdrawal limit
04
Ask whether to print receipt
Use for modeling authentication, financial transaction flows, or any sequential control flow with loops and terminal failure states.