A corporate executive who is slowly embezzling money from the company's pension fund has instructed his partner in crime, an investment banker, to send all correspondence in code. The computer...


A corporate executive who is slowly embezzling money from<br>the company's pension fund has instructed his partner in<br>crime, an investment banker, to send all correspondence in<br>code. The computer operators on his staff type the<br>correspondence on cards, each card containing 60<br>characters.<br>To decode the message, you must first divide up the<br>string into 5 blocks containing 12 characters each, with every<br>twelfth character used to build a word. In addition, each letter<br>is to be replaced with the letter six ahead of it in the<br>alphabet. Thus, A becomes G, B becomes H, and U<br>becomes A, V becomes B, and so on.<br>Write a procedure in PL/I to read the characters from<br>cards, decode the characters of each card, and print the 12<br>output words, four per line. The program should terminate<br>when a card contains all consonants (consider Y to be a<br>consonant).<br>

Extracted text: A corporate executive who is slowly embezzling money from the company's pension fund has instructed his partner in crime, an investment banker, to send all correspondence in code. The computer operators on his staff type the correspondence on cards, each card containing 60 characters. To decode the message, you must first divide up the string into 5 blocks containing 12 characters each, with every twelfth character used to build a word. In addition, each letter is to be replaced with the letter six ahead of it in the alphabet. Thus, A becomes G, B becomes H, and U becomes A, V becomes B, and so on. Write a procedure in PL/I to read the characters from cards, decode the characters of each card, and print the 12 output words, four per line. The program should terminate when a card contains all consonants (consider Y to be a consonant).

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here