Question: Write a program ( IN POWERSHELL ) to encode numbers in a given string using the algorithm called Jump the Five. This algorithm is based

Write a program (IN POWERSHELL) to encode numbers in a given string using the algorithm called "Jump the Five." This algorithm is based on a US telephone keypad, where each number is swapped with another based on the mapping:
1 becomes 9
2 becomes 8
3 becomes 7
4 becomes 6
5 becomes 0
6 becomes 4
7 becomes 3
8 becomes 2
9 becomes 1
0 Becomes 5
Here, the task was to make sure the program encoded only numbers in the string, let all else-the letters and symbols, etc.-be left untouchd
IN POWERSHELL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!