pls help guide me to write this program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yajna
    New Member
    • Oct 2006
    • 3

    #1

    pls help guide me to write this program

    i need to write a C interactive program that will encode a word or sentence entered
    by a user.
    For any word or sentence(blank spaces,special characters are ignored here, i.e.
    they are not changed) are entered,each character is encrypted by changing it to the next adjacent
    letter of the alphabet.
  • arne
    Recognized Expert Contributor
    • Oct 2006
    • 315

    #2
    Originally posted by yajna
    i need to write a C interactive program that will encode a word or sentence entered
    by a user.
    For any word or sentence(blank spaces,special characters are ignored here, i.e.
    they are not changed) are entered,each character is encrypted by changing it to the next adjacent
    letter of the alphabet.
    You may have a look at function
    fgets() to read the sentence from stdin;
    strlen() to determine the sentence's length, and
    isalpha() to check if a character is of interest to you.

    Give it a try ;-)

    Comment

    • yajna
      New Member
      • Oct 2006
      • 3

      #3
      thks!ill try it...

      Comment

      • arne
        Recognized Expert Contributor
        • Oct 2006
        • 315

        #4
        Originally posted by yajna
        thks!ill try it...
        If you encounter any problems, just post again :-)

        Comment

        Working...