subject

Today we will be making a caesar cipher to encrypt and decrypt messages. a caesar cipher is a simple cipher that translates one letter to another via shifting the letter a few spaces in the alphabet. for example: a caesar cipher with a shift of 3 would turn a into d, b into e, c into f, and so on. your task is to use string methods and two user defined functions (an encrypt function and a decrypt function) to produce an encrypted message from a "plaintext" message and a "plaintext" message from an encrypted message. the program should use a menu such as: 1. encrypt2. decrypt3. exitthe menu should be displayed in a loop until the user chooses to exit. when the user chooses the encrypt option, your program should prompt the user to input a "plaintext" string. then the program should display what the encrypted text would be. when the user chooses the decrypt option, your program should prompt the user for an encrypted message and then display the "plaintext" version of that message to the user. for this program each message should be a single word and your cipher should use a shift of 3.any message entered by the user should be capitalized using a user defined function that will take a string in by reference and use the toupper() function from to capitalize each letter of the string.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:40
Match the personality traits with their description
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Acase study allows a more detailed look at the life of a single subject than any other study.
Answers: 3
question
Computers and Technology, 24.06.2019 08:00
Arah has entered data about football players from team a and team b in a worksheet. she enters names of players from team a with details about each player in different columns of the worksheet. similarly, she enters details of all the players from team b. which option will her view the data for team a and team b in two separate sections after printing? a. page break view b. freeze pane view c. split screen view d. full screen view e. zoom out view
Answers: 1
question
Computers and Technology, 25.06.2019 06:00
Me on this app how do you take a picture of your work
Answers: 1
You know the right answer?
Today we will be making a caesar cipher to encrypt and decrypt messages. a caesar cipher is a simple...
Questions
Questions on the website: 13722363