# cancatinating numbers using ascii representation

i dont know if this should be on another question but the encyption is based on the ascii representation
Like A is 95
i figgure that i can mod 95 and get 5 returned add 7 to it mod by 10 and get a result

then take 95 aggain and divide it by 10 and get  9 and add 7 to it mod 10 and get a result

then i need to cancatinate these together

am i going to have problems with the types do i need to cast between these and what do i need to make them to be able to cancatinate.

Also is it just going to recognise the ascci character as 95 or do i have to somethin for it to
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
I have no idea what you are trying to do here.

Perhaps a clearer explaination of the problem and the proposed solution might help?

Ciao

SirHando

0
Author Commented:
sorry bout that

i am trying to encyprt words passed into a function based on the scheme
example
word: ANT

charater A
ascii 95

9 + 7 mod 10 = 6
5 + 7 mod 10 = 2

encrypted charater
is >

character N
ascii 78

7 + 7 mod 10 = 4
8 + 7 mod 10 = 5

encypted character
is -

character T
ascii 84

8 + 7 mod 10 = 5
4 + 7 mod 10 = 1

encypter character 3

so ANT would = >-3

well the words passed in are going to be strings  like on the example T how do i cancatinate my resultes 5 and 1 together and get that character representaion do i have to cast  so i can cancatinate

hopefully thats more clear
thanks

0
Software ArchitectCommented:
0
Commented:
thanks, i have followed in other thread.
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.