I have a problem in C++. I am writing a program to convert a sentence to a string of numbers. The encryption technique is:
A=1, B=2, C=3...Z=26
a=33, b=34, c=35...z=58
I am not suppose to convert spaces they should be left in the string. So, say for example, a user typed the sentence: The Cat
My final program should display:
Encrypted: 204037 33352
Unencrypted: The Cat
Please can someone help me with this task, as soon as possible. Thank you
A=1, B=2, C=3...Z=26
a=33, b=34, c=35...z=58
I am not suppose to convert spaces they should be left in the string. So, say for example, a user typed the sentence: The Cat
My final program should display:
Encrypted: 204037 33352
Unencrypted: The Cat
Please can someone help me with this task, as soon as possible. Thank you
Comment