123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

   Computer Science / IT
   Electronics
   Electrical
   Mechanical
   Chemical
   Civil

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use

Displaying  Source Code(s)  
 

 
Prg.to encrypt & decrypt a given string.

--------------------------------------------------------------------------------



#include <stdio.h>
# include <conio.h>
void main()
{
int n,i;
char a[80];
clrscr();
printf("
Enter string:- ");
gets(a);
printf("

OPTIONS:- ");
printf("
(1) Encrypt the string.");
printf("
(2) Decrypt the string.");
printf("
CHOICE(1 or 2):- ");
scanf("%d",&n);

switch(n)
{
case 1:
for (i=0;(i<80&&a[i]!='
 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved copyright 123ENG