Thread: encryption of letters

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    1

    Post encryption of letters

    hi i need help. i need a program which uses encrypt function to change letters to their adjacent letter i.e. a will become b and so on.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Run this and see if it gives you any idea's:

    Code:
    #include <stdio.h>
    
    int main(void) {
      char letter = 'a';
      int i;
    
      for(i=0;i<26;i++)
         printf("%c ",letter++);
    
      return 0;
    }
    When you come here, be ready to show and or tell us what you have done to fix the problem or start the program.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Check for letters
    By Ahren in forum C++ Programming
    Replies: 8
    Last Post: 02-06-2005, 05:04 PM
  2. letters
    By CobraCC in forum C++ Programming
    Replies: 4
    Last Post: 05-01-2003, 08:47 AM
  3. The letters
    By drdodirty2002 in forum C Programming
    Replies: 4
    Last Post: 04-26-2003, 06:01 PM
  4. Entering only letters in MFC
    By omeydhomey in forum Windows Programming
    Replies: 3
    Last Post: 04-03-2003, 12:21 PM
  5. Asking for an int and I get letters
    By Um...well... in forum C++ Programming
    Replies: 2
    Last Post: 07-08-2002, 08:41 PM