Develop a menu-driven application from the following problem statement:
A user a message which is directed to a mail box of the receiver lier 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 tat 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 ir notijied V there is a new maiL A receiver can check LI she’he has new recorded messages, LI 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 hisiher mailbox anytime. The application should allow to create new Vail hnrac The maximum number of niai! hnrac ir 4. A given
mail bar can only hold up to maximum 5 messages. ifni1 bnrac are saved back to a data store (just afile).
The system is used by the following stake hnlder
1) Anyone who want to post a mepe
2) The people who has mail boxes
3) The application administrator
Develop a class diagram
The application should read the mail Box from the file. The mail Box can change as a stakeholder can post a message. Before exit make sure you save the state mail box as it has been edited. Pefjnec[early the required functionalities and implement them. y)gjp,g can only be accessed by name and by password The file may look like (if you want) this
//the number of mail boxes
John 234128 &*%$ 3 //first mail box belongs to John followed by ID and password
//followed by the if of messages
Hello how are you I am on leave until May 25 //greeting message
1 Sonia May 13 2021 true f/first message was sent by Sonia, it has been read
How are you John, tan you send the attendance sheet.
2 Omar May 192021 true I/second message sent by Omar, it has been read
Jnhn can you take my lab next week as I have some urgent work to do. Thanks
3 Tchantchane May21 2021 false
Dear John, tan you remind our students that we have a midterm next week.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of