Answer to Question #26936 in C++ for thomas123

Question #26936
Hello, my purpose is converting bcç to abc (1 time shifting with decryption) you can wonder what is "ç".
"ç"is one of the Turkish alphabet letter and I would like to conver letter "b" to a, letter "c" to "b"and letter "ç" to "c" can you help me for this code. Thanks.
1
Expert's answer
2013-03-29T16:40:26-0400
# include <cstring>

const char alphabet[] ={'A', 'B', 'C', 'Ç', 'D', 'E','F', 'G', 'Ğ', 'H', 'I',
'İ', 'J', 'K', 'L', 'M', 'N', 'O', 'Ö', 'P', 'R', 'S',
'Ş', 'T', 'U', 'Ü', 'V', 'Y', 'Z',
'a', 'b', 'c', 'ç', 'd', 'e', 'f', 'g', 'ğ', 'h', 'i',
'ı', 'j', 'k', 'l', 'm', 'n', 'o', 'ö', 'p', 'r', 's',
'ş', 't', 'u', 'ü', 'v', 'y', 'z'};

For shifting simply don't use ASCII table, but usealphabet[] table.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS