Exercise P9.2. Random monoalphabet cipher. The Caesar cipher, which shifts all let- ters by a ?xed amount, is far too easy to crack. Here is a better idea. As the key, dont use numbers but words. Suppose the key word is FEATHER. Then ?rst remove duplicate letters, yielding FEATHR, and append the other letters of the alphabet in reverse order: F E A T H R Z Y X W V U S Q P O N M L K J I G D C B Now encrypt the letters as follows: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z F E A T H R Z Y X W V U S Q P O N M L K J I G D C B Write a program that encrypts or decrypts a ?le using this cipher. For example, crypt -d -kFEATHER encrypt.txt output.txt decrypts a ?le using the keyword FEATHER. It is an error not to supply a keyword. Exercise P9.7. The program in Section 9.6 only locates one record and updates the salary. Write a program that raises or lowers the salaries of all employees by a given percentage.
Looking for solution of this Assignment?
WHY CHOOSE US?
We deliver quality original papers |
Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected |
Free revisions |
We offer our clients multiple free revisions just to ensure you get what you want. |
Discounted prices |
All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount |
100% originality |
We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI |
On-time delivery |
We will deliver your paper on time even on short notice or short deadline, overnight essay or even an urgent essay |