Question: 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 

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

1 Expert Approved Answer
Step: 1 Unlock

Heres a C program that encrypts a given letter based on the specified rules cpp include ios... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!