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, 23.06.2019 11:30
Me dangers of social media and the internetexplain what each means: 1) social media and phones have become an addiction.2) outside people have access to you all the time.3) cyberstalking4) cyberbullying5) catphishing6) viruses7) identity theft8) credit card fraud9) hacking10) money schemes
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Read the following scenario, and then answer the question below. you want to send an e-mail to your boss requesting a meeting to discuss a raise. what is the best example of an e-mail to an employer about this meeting? “hey jason. can we chat about getting me more money soon? let me know. peace, meg.” “hello jason. pardon me for sending yet another e-mail today about my need to talk to you about my position and a possible pay increase. i am dying to know when you can talk. sincerely, meg.” “hello jason. i have been with the company for one year and have taken on more responsibilities than outlined in my job description. i would appreciate an opportunity to speak with you about my position. let me know when we can schedule a meeting. you, meg.” “greetings jason! i hope this e-mail finds you well and happy today. i really, really want to talk to you about something important. i am not sure if you have time. i hope you do. get back in touch with me and let me know when we might talk. ever so much for taking the time to read this. sincerely, meg.”
Answers: 3
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
question
Mathematics, 30.06.2019 18:00
question
Mathematics, 30.06.2019 18:00
question
Mathematics, 30.06.2019 18:00
Questions on the website: 13722363