1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can done this program?

Discussion in 'Programming' started by kunalkunal, Apr 1, 2007.

  1. kunalkunal

    kunalkunal New Member

    Joined:
    Apr 1, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    i am new in programming language, i am unable to done it programm
    can you done it?
    program to transform 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+3) 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. 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: This is a C program.
    String after the transformation: Wklv lv d F Surjudp.
     
  2. adroit89

    adroit89 New Member

    Joined:
    Jan 5, 2007
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    hey, just read the string character by character and while printing it again just increment the integer value of each character by two.
     

Share This Page