Introduction to Software Engineering Classroom Exercise 2nd Assignment 4 [State Diagram Thinking Questions—Drawing State Diagram of Credit Card]

After the credit card is activated, it may be in the "open" and "closed" states. The "open" state can directly enter the "closed" state, and the "closed" state must provide password verification to enter the "open" state. The "open" state also includes the change between the "overdraft" and "normal" states. When the remaining amount is less than zero, or the usage amount is greater than the remaining amount, or the settlement balance is less than zero, it enters the overdraft state, otherwise it is the normal state. Draw the state diagram of the credit card.

Guess you like

Origin blog.csdn.net/weixin_44949135/article/details/111184877