Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C++ program that prompts the user to enter a letter and encrypt it using the following method: if the letter is an
Write a C++ program that prompts the user to enter a letter and encrypt it using the following method: if the letter is an upper-case letter the program replaces the letter by the 7th letter in the sequence of letters, if the letter is a lower-case letter the program replaces the letter by the 11th letter in the sequence of letters. The program then prints the new letter. Sample Input/Output Enter a letter: D The encrypted version of D is K Enter a letter: w The encrypted version of w is h Enter a letter: Y The encrypted version of Y is F
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Heres a C program that encrypts a given letter based on the specified rules cpp include ios...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