01-edu / public

📚 @01-edu's Public Repository
http://public.01-edu.org/
234 stars 459 forks source link

[QUESTION] atm-management-system subject #2774

Open abenyahya255 opened 1 month ago

abenyahya255 commented 1 month ago

Project : atm-management-system (language C)

---I do not understand banking management well, but I want to know whether in the case of a savings account or current account there must be restrictions on transactions? Do I need to set, for example, a maximum limit for transactions that the user cannot exceed? Or is he free to deposit or withdraw any amount as long as it can be withdrawn or deposited? I mean, in the case of withdrawal, we are satisfied with the condition that it is less than or equal to the balance. Otherwise, he withdraws whatever he wants and adds whatever he wants without limits?

Second question: In the case of a fixed account: What is required to happen when its period expires? Does the system renew it for a fixed account again?

pedrodesu commented 2 weeks ago

Hello @abenyahya255

The subject does not specify any limit for the amount of transactions you can do, so the user may do as many as they'd like, as long as it's an account where transactions are allowed (So, only current and savings accounts), and they have the necessary to withdraw or deposit respectively.

Regarding the second question, I'm somewhat confused, if you could clarify it a bit. The current subject doesn't specify any periods or expirations for the accounts. The closest to that would be the date of creation. There's no period and thus no expiration, so that should be a non-issue. Please do clarify and correct me if I got your question wrong or misunderstood something.