Develop a menu driven application from the following problem statement:
A user post a message which is directed to a mail box of the receiver after being greeted by the intended receiver greeting message. The posted message is saved to the appropriate mailbox. The maximum length of a message is only one text of line which is less or equal than 20 words. Otherwise, the message is terminated. If the mailbox is full, the sender is informed, and no message is recorded.
A receiver is notified if there is a new mail. A receiver can check if she/he has new recorded messages, if yes, she/he can read them. The receiver can delete his/her messages at anytime. The greeting message can be changed by the receiver. The receiver can activate/deactivate his/her mailbox anytime.
The application should allow to create new Mail boxes. The maximum number of mail boxes is 4. A given mail box can only hold up to maximum 5 messages. Mail boxes are saved back to a data store (just a file).
The system is used by the following stake holders
1) Anyone who want to post a message
2) The people who has mail boxes
3) The application administrator