write a c++ program in which you are required to devolpe a c++ program which encrypts the data of the user after entering his/her message in the character array the user will enter a number a new message will be generated by adding each letter to the number entered by the user

I see this is your first post. Please step back and think about your discussion which looks like a demand or homework.

Here's what you need to know now:

Do provide evidence of having done some work yourself if posting questions from school or work assignments

https://www.daniweb.com/welcome/rules

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.