Answered step by step
Verified Expert Solution
Link Copied!

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Java Programming, Comprehensive Version

Authors: Y. Daniel Liang

10th Edition

133761312, 978-0133761313

More Books

Students also viewed these Programming questions

Question

1. Watch what students do with their free time.

Answered: 1 week ago

Question

ii. is confidential to you and anonymous for the raters

Answered: 1 week ago