Programme Code : MCA
Course Code : MCS-011
| More

Year : 2012 Views: 1054 Submitted By : giriraj On 16th September, 2012

Do you have solution for this Question. If yes    I aslo want solution.

Q.


Write a program to crypt its input according to a specified transformation scheme. The transformation scheme will consist of two strings: a string of characters and then a string of replacement characters. The idea is that your program replaces every instance of the ith character in the initial string with the (i+2) character (of English alphabets) in the replacement string. When no substitution is defined for a character, the program just passes it through to the output unchanged. Blank spaces and the other symbols remains the same. The program should inform the user of any errors in the transformation scheme. Your program should display the phrase before and after the substitutions have been made.

Example:

Original String: I know C programming.

String after the transformation: K mpqy E rtqitcookpi.


No Answer Found

Q Declare two arrays A and B, find (i) A intersection B and (ii) A union B.

sushant sadashiv belekar    12th October, 2012 Hits: 1542