Question
Please answer (a) and (b) the converted.txt contain : I kcztjya tk i swcqd co tuvtrtvqigk turcgrjv tu djwktkyjuy kcztig tuyjwizytcu, cw i giwsj kcztig
Please answer (a) and (b)
the "converted.txt" contain :"
I kcztjya tk i swcqd co tuvtrtvqigk turcgrjv tu djwktkyjuy kcztig tuyjwizytcu, cw i giwsj kcztig swcqd kliwtus ylj kixj kdiytig cw kcztig yjwwtycwa, yadtzigga kqnpjzy yc ylj kixj dcgtytzig iqylcwtya iuv vcxtuiuy zqgyqwig jmdjzyiytcuk. Kcztjytjk iwj zliwizyjwthjv na diyyjwuk co wjgiytcukltdk (kcztig wjgiytcuk) njybjju tuvtrtvqigk blc kliwj i vtkytuzytrj zqgyqwj iuv tukytyqytcuk; i strju kcztjya xia nj vjkzwtnjv ik ylj kqx ycyig co kqzl wjgiytcukltdk ixcus tyk zcukytyqjuy co xjxnjwk. Tu ylj kcztig kztjuzjk, i giwsjw kcztjya coyju jmltntyk kywiytotziytcu cw vcxtuiuzj diyyjwuk tu kqnswcqdk.
Kcztjytjk zcukywqzy diyyjwuk co njlirtcw na vjjxtus zjwyitu izytcuk cw kdjjzl ik izzjdyingj cw quizzjdyingj. Yljkj diyyjwuk co njlirtcw btyltu i strju kcztjya iwj fucbu ik kcztjyig ucwxk. Kcztjytjk, iuv yljtw ucwxk, quvjwsc swivqig iuv djwdjyqig zliusjk.
Tukcoiw ik ty tk zcggincwiytrj, i kcztjya ziu juingj tyk xjxnjwk yc njujoty tu biak yliy bcqgv cyljwbtkj nj vtootzqgy cu iu tuvtrtvqig niktk; ncyl tuvtrtvqig iuv kcztig (zcxxcu) njujotyk ziu ylqk nj vtkytusqtkljv, cw tu xiua zikjk ocquv yc crjwgid. I kcztjya ziu igkc zcuktky co gtfj-xtuvjv djcdgj scrjwujv na yljtw cbu ucwxk iuv rigqjk btyltu i vcxtuiuy, giwsjw kcztjya. Yltk tk kcxjytxjk wjojwwjv yc ik i kqnzqgyqwj, i yjwx qkjv jmyjuktrjga btyltu zwtxtucgcsa.
Xcwj nwcivga, iuv jkdjztigga btyltu kywqzyqwigtky ylcqsly, i kcztjya xia nj tggqkywiyjv ik iu jzcucxtz, kcztig, tuvqkywtig cw zqgyqwig tuowikywqzyqwj, xivj qd co, ajy vtkytuzy owcx, i riwtjv zcggjzytcu co tuvtrtvqigk. Tu yltk wjsiwv kcztjya ziu xjiu ylj cnpjzytrj wjgiytcukltdk djcdgj lirj btyl ylj xiyjwtig bcwgv iuv btyl cyljw djcdgj, wiyljw yliu "cyljw djcdgj" njacuv ylj tuvtrtvqig iuv yljtw oixtgtiw kcztig jurtwcuxjuy."
A case-insensitive permutation of the Latin alphabet A = {4,B.C...,2,2,b,c.....} is a one-to-one mapy: AA such that uppercase is mapped to uppercase; lowercase is mapped to lowercase; and (A) is the uppercase of pla). (B) is the uppercase of (b), and so on. Under a case-insensitive permutation of the Latin alphabet, the sentence "It is effort, kindness, passion, and zeal that are beautiful, charming, excellent, as well as quirky, not jealousy and vulgarity." is converted to the sentence Ty tk joocwy, ftuvujkk, dikktcu, iuv hjig ylily iwj njiqytoqg, zliwxtus, jmzjggjuy, ik bjgg ik eqtwa, ucy pjigcqka iuv ragsiwtya." (a) Write a C++ program to determine the permutation. The program should display the value of the nermutation at each letter as follows, where pla)=, (t) = n. (c) = ? and so on. a --> i b -->n C--> Z (b) The text in the given file named "converted.txt" has been converted from a text through the permutation 4. Write a C++ program to recover the original text and store the text in a file named "original.txtStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started