message passing to another user in c++
<p>i need to create a class that will enable a user to send a secret message to another individual. The class should contain the id number of the person who constructed the messages as well as the id number of the person who is to receive the message. The class should also contain an attribute that will store the message that is being transmitted. The maximum number of characters in the message should be 30.</p>

<p>Valid id numbers should range from 1 to 20 inclusive. Any other id number is invalid and should signal an error. Create a utility function that will check the id number and print an appropriate message where applicable. Also create appropriate operations for storing additional data that is required by the class.</p>

<p>The class should also facilitate an encryption operation that will ensure that the message is kept secret. As a simple test you are required to implement an encryption operation that will reverse and store the message content. You should also include a decryption algorithm that will convert the scrambled message to its original state.</p>

<p>Write a menu driven main program that will demonstrate the use of the class. The menu options are:
1. Enter message details.
2. Encrypt message
3. Decrypt message
4. Print message details
5. Exit program</p>
