Writc a C++ codc to - Acecpt a numbcr to indieatc the amount of shift. Acccpt 5 fctters. (Plain text) Convert the 5 fctters suing the Cacsar Cipher with the shift (denoted as the Ciphcr text). Notc that sinec a eharacter is storcd as a numbcr in the ASCII codc, you ean simply inercasc or dcercasc the ASCII eodc number (of the charactcr) by the amount of the shift, to convert. Print both the plain text and the eipher tcxt. Note Carcfully; - MUST usc the cxplieit ty pc eonversion to eiphcr the text. Both the plain tcxt and the eipher text should be printed out.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 19SA
icon
Related questions
Question

ples can you help me on this question?

Writc a C++ codc to
- Acecpt a numbcr to indieatc the amount of shift.
Acccpt 5 fctters. (Plain text)
Convert the 5 fctters suing the Cacsar Cipher with the shift (denoted as the Ciphcr text).
Notc that sinec a eharacter is storcd as a numbcr in the ASCII codc, you ean simply
inercasc or dcercasc the ASCII eodc number (of the charactcr) by the amount of the shift,
to convert.
Print both the plain text and the eipher tcxt.
Note Carcfully;
- MUST usc the cxplieit ty pc eonversion to eiphcr the text.
Both the plain tcxt and the eipher text should be printed out.
Transcribed Image Text:Writc a C++ codc to - Acecpt a numbcr to indieatc the amount of shift. Acccpt 5 fctters. (Plain text) Convert the 5 fctters suing the Cacsar Cipher with the shift (denoted as the Ciphcr text). Notc that sinec a eharacter is storcd as a numbcr in the ASCII codc, you ean simply inercasc or dcercasc the ASCII eodc number (of the charactcr) by the amount of the shift, to convert. Print both the plain text and the eipher tcxt. Note Carcfully; - MUST usc the cxplieit ty pc eonversion to eiphcr the text. Both the plain tcxt and the eipher text should be printed out.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Distributed Database Concepts
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning