Question: Write a C program to do the following: ( a ) Get a string S ( b ) Write an user defined function to do

Write a C program to do the following:
(a)Get a string S
(b)Write an user defined function to do the encoding each character in the string S as follows:
(i)Convert the alphabet a to z,b to y,c to x.
m to n vice versa
(ii)Convert the alphabet A to Z,B to Y,C to X .
M to N vice versa
(iii)Convert the numeric digit 0 to 9,1 to 8,2 to 7
4 to 5 vice versa
(iv)Convert the special character to dot (.)
Example: If the input String is AbC#123, the output should be ZyX.876
 Write a C program to do the following: (a)Get a string

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 Databases Questions!