الطلب
“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.