Conclusion
Congratulations!
You have done an amazing job. You have saved the kingdom and while doing that you learned C++ programming as well! :)
Let’s review what you learned:
- You have used the console to input and send encrypted or decrypted messages.
- You usedvariables to store the messages that were going to be sent out.
- You used loops to analyze each letter in the messages.
- You used conditionals to determine if encryption or decryption was needed.
- The ASCII code helped you know the value of each character so that we were able to encrypt or decrypt the message.
The King has sent you a special encrypted thank you message. With the help of your C++ program, you will be able to decrypt it and read it:
svox hrbguoecvg, zye wiquuee lgk iz a jgvpl rgfgqr. wvv fzggls ooxzu hvoj eazy pskirukk bqtzsvd lvk iuqeq ofs I sjz lhmnnh le qdbj hqls, iyt cwtx if nrl kpns. fgu mrh iyt kjvvr teudv ew inzs zawwgd. qdbj peojgrcesx kkuloh rhv osrzunj. o shzzrzazt ijlkjs goautv ngk, ovkje rou hmhv num wulo vrlv inv ocprglkfwzq tb hhzh crcf eoee ssgfds. fgue phgwejbgfcq wdh gklhzrnpiqu. lwv guqax fdbzbq otu axl rjj fvdvde mrh ujplslml rousntj lolh lox. qgdxggluxawwgdk. cuo ybu kont ld ivlqbuolt ssirufe eskxusy kaiiqu mi qdb yaie osrhfsj rn umsdjjrcz kkulo iypl lodl ne ysjo ysrhfhl lc qemg lmthrh, ngk yocv lqaucvs hguxrmmpwfv. I ydvv I cmn psvj qdb rgmiq wf jys lmthrh. Swfrvgody mng yzduzf, lhq klcx
2
programador
Important: To paste into the console, right click the console and click “Paste”. Otherwise, the paste operation may not work correctly.
You did it!
Workshop completed!