76 974
Assignments Done
Successfully Done
In June 2019

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.
Expert's answer
# 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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions