Question: You are to DESIGN and WRITE a short program that will: Input a string. The program will encode the string using the decoder chart below.
You are to DESIGN and WRITE a short program that will:
Input a string.
The program will encode the string using the decoder chart below.
Once encoded both the original word and encoded word will be displayed.
The program will allow the user to repeat the above actions.
| UNCODED | CODED |
| A | H |
| B | I |
| C | V |
| D | J |
| E | K |
| F | W |
| G | L |
| H | A |
| I | M |
| J | Y |
| K | N |
| L | B |
| M | X |
| N | O |
| O | Z |
| P | C |
| Q | T |
| R | P |
| S | U |
| T | D |
| U | Q |
| V | S |
| W | R |
| X | E |
| Y | G |
| Z | F |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
