Question: In C Programming language. Write a function that takes a string as a parameter and prints the encoded version of that string. The original string
In C Programming language.
Write a function that takes a string as a parameter and prints the encoded version of that string. The original string should not be altered. Also, call this function from the main function on an input string. You need to follow the following encoding scheme:
'a' -> 'z'
'b' -> 'y'
....
'z' -> 'a'
'A' -> 'Z'
'B' -> 'Y'
...
'Z' -> 'A'
For example: for the parameter "Bye, A" your function should print "Ybv, Z".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
