Discuss a simple data encryption


Discussion:

Q: Create an ideas a program that uses the below data file as input and does simple data encryption. Replace each letter of the alphabet with the next letter. For example, a will be replace by b and b will be replaced by c. The letter z will be replaced by a. Numbers, spaces, punctuation and special characters stay the same. The sentence: "I am 21 yrs. old!", translates to J bn 21 zst. ome! Print out the input and print out the encrypted sentence.

The contents of the data file are:

Roses are red
Violets are blue
I am still 21 years old!
The quick brown fox
Jumps over the lazy dog.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Discuss a simple data encryption
Reference No:- TGS01937137

Now Priced at $25 (50% Discount)

Recommended (95%)

Rated (4.7/5)